note 7897 added to Variables from outside PHP
| From: | gittewj at hhknet dot dk | Date: | Fri, 18 Aug 2000 20:17:32 +0000 |
| Subject: | note 7897 added to Variables from outside PHP | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-2495@lists.php.net to get a copy of this message | ||
Hello.
Maybe there's a note about this somewhere nut I haven't been able to loacte it.
I have made this form with the purpose to update a database with the input data.
But how do you put the $variables into your SQL-statement??
you can't write:
$sql = "UPDATE members SET name=$newname WHERE name=$oldname"
or can you
Regards!
Gitte
http://www.php.net/manual/language.variables.external.php