Re: [PHP-DB] mysqli_prepare

2007-04-11 Thread Onochie Anyanetu
yes, georg is correct, i made a type saying INSERT when I really meant UPDATE. my apologies. On 4/11/07, Georg Richter <[EMAIL PROTECTED]> wrote: Craig Hoffman wrote: > Can you use the mysqli_prepare function to UPDATE MySQL or is it just > limited to an INSERT statement? > mysqli_prepare wor

Re: [PHP-DB] mysqli_prepare

2007-04-11 Thread Georg Richter
Craig Hoffman wrote: > Can you use the mysqli_prepare function to UPDATE MySQL or is it just > limited to an INSERT statement? > mysqli_prepare works for mostly all statements, except calling stored procedures, create commands and several show commands. Full support is planned (and partially in

Re: [PHP-DB] mysqli_prepare

2007-04-09 Thread Onochie Anyanetu
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 <[EMAIL PROTECTED]> wrote: Can you use the mysqli_prepa