mysqli_prepare
| From: | Craig Hoffman | Date: | Mon, 09 Apr 2007 21:04:28 +0000 |
| Subject: | mysqli_prepare | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-43424@lists.php.net to get a copy of this message | ||
Can you use the mysqli_prepare function to UPDATE MySQL or is it just limited to an INSERT statement?
For example.
$stmt = mysqli_prepare($db, 'UPDATE proj_overview SET proj_id = ?, proj_name = ?, ...
and so on...
mysqli_stmt_bind_para...
mysqli_stmt_execute...
Thanks,
CH
____________________________________
Craig Hoffman
IM / iChat: m0untaind0g
____________________________________