Re: mysqli_prepare

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



yes, just be sure to follow the syntax on using INSERT

..... UPDATE db_table SET column = 'item' . . . . where ID = 'what you are
updating' . .

i still work in 4.2, so can some vertify this works for 5.0 as well?

On 4/9/07, Craig Hoffman <choffman@xxxxxxxxxx> wrote:

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
____________________________________

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux