| Onochie Anyanetu 2007-04-09, 6:57 pm |
| 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@eclimb.net> 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
>
>
|