Re: INSERT do not work on PHP 4.0
| From: | (Richard Lynch) | Date: | Tue, 04 Jul 2000 02:00:15 +0000 |
| Subject: | Re: INSERT do not work on PHP 4.0 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-4646@lists.php.net to get a copy of this message | ||
In article <200006301430.HAA27555@mail1.bigmailbox.com>,
kizadi@rahnema.com ("Sayyid Kamyar Izadi") wrote:
> Dear Sir/Madam
> I have a problem with MySQL in PHP4.0
> I can execute INSERT statement, I do not see any error on my page
> but nothing was inserted into table
$query = "insert blah blah blah";
$insert = mysql_query($query) or die(mysql_error());
--
Richard Lynch | If this was worth $$$ to you, buy a CD
US Customer Support Director | from one of the artists listed here:
Zend Technologies USA | http://www.L-I-E.com/artists.htm
http://www.zend.com | (this has nothing to do with Zend,
duh!)