note 42759 added to function.fwrite
| From: | dgretlein at cox dot net | Date: | Fri, 28 May 2004 06:44:18 +0000 |
| Subject: | note 42759 added to function.fwrite | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-70229@lists.php.net to get a copy of this message | ||
My apologies if this post does not look right.
Dont you need the dot pre and post the variable with quotes?
ie: SET pic='$thisimage' WHERE
should be SET pic='".$thisimage."' WHERE
So this:
$qry = "UPDATE tblmodel SET pic='$thisimage' WHERE ID = ".$line['ID'];
should be this:
$qry = "UPDATE tblmodel SET pic='".$thisimage."' WHERE ID =
".$line['ID'];
----
Manual Page -- http://www.php.net/manual/en/function.fwrite.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+42759
Delete -- http://master.php.net/manage/user-notes.php?action=delete+42759&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+42759&report=yes
Search -- http://master.php.net/manage/user-notes.php