Re: error with REPLACE or UPDATE
| From: | Richard Lynch | Date: | Wed, 24 Jan 2001 13:32:45 +0000 |
| Subject: | Re: error with REPLACE or UPDATE | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-36409@lists.php.net to get a copy of this message | ||
> I getting dificulties with an updating records procedure: like I have an
> Auto-Increment field I try to use the REPLACE (but without the the
> auto-increment I tried also UPDATE). I checked also the variables with
> an echo, and also all the usual things I could imagine...
What goes wrong?...
#> $sql_result = mysql_query($sql,$connect) or die ("Couldn't update!");
$sql_result = mysql_query($sql,$connect) or die(mysql_error());
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm