[thelist] MySQL antics

Katherine Spice k.spice at acu.ac.uk
Wed Sep 5 07:02:02 CDT 2001

Hi Adrian,


> Can't modify constant item in scalar assignment at dockets.pl line 610, near
> ");"

is a php error - it can't modify dbh (constant item) because you've not declared it as a variable (scalar assignment just means where x=y). Change dbh=$db->do to $dbh=$db->do and then $dbh will equal
the number of rows affected by the query (or be undefined on error).


More information about the thelist mailing list