Re: Problem with an insert query
| From: | Simon Rees | Date: | Mon, 15 Nov 2004 14:32:33 +0000 |
| Subject: | Re: Problem with an insert query | ||
| References: | 1 2 3 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-37275@lists.php.net to get a copy of this message | ||
On Saturday 13 November 2004 20:25, GH wrote:
> Explain Bind Vars please... Thanks
It is a technique for preparing an SQL statement with placeholders which can
then be substituted with values when the statement is executed. It will be
unavailable to you unless you are using MySQL 4.1.3 or above and are using
the mysqli library. See:
http://www.php.net/manual/en/function.mysqli-prepare.php
Note, this is a common technique in database programming but one which MySQL
is only just starting to adopt...
Simon
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Simon Rees | srees@nildram.co.uk |
ORA-03113: end-of-file on communication channel
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~