Array variables in MySQL UPDATES
I'm trying to use a MYSQL fieldname as a key in an indexed array .. Maybe there is something basic I'm missing?
The statement : $sql13 = mysql_query("UPDATE $table1 SET recored1 = '$arrayvalue[ID]' " ); just refuses to place the correct arrayvalue in the table1. (no failure .. it just places a o.oo value in the records.
ID is in integer record in $table1.
$arrayvalue is an indexed array with a 100 or so values
Not sure if i'm very dumb or just too smart (prob the former) ?
|