W liście z wto, 16-03-2004, godz. 03:52, Hendra Kusnandar pisze: 
> hai, i have change with :
> 
>   my ($nik, $password, $scode) = @_;               
> 
> when i execute the scripts, the scripts can't execute
> and the error of scripts is :
> 
> DBD::mysql::st execute failed: Column 'nik' cannot be
> null at insert_sql.pl line 36, <> line 1.
> Unable to execute query:
> DBI::db=HASH(0x1ca3284)->errstr

Also don't forget to pass actual parameter to insert()

That is: insert($1, $3, $5) instead of insert().

$1, $3, $5 comes from regexp matching.

Waldemar


Reply via email to