Re: mysqli_prepare
| From: | Onochie Anyanetu | Date: | Mon, 09 Apr 2007 22:24:43 +0000 |
| Subject: | Re: mysqli_prepare | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-43425@lists.php.net to get a copy of this message | ||
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