Probably a mysql problem really, but..

From: Date: Tue, 04 Jul 2000 15:37:19 +0000
Subject: Probably a mysql problem really, but..
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-4763@lists.php.net to get a copy of this message
Here's my problem: MySQL_db_query('database'," REPLACE INTO isp_auth VALUES ('$Reference','$Real_Uname','$Real_Pass','$Created','$Account','$Cvalue')") or die ("Can't replace into ".$Name_Table); Given that the values (especially $Cvalue) are fine, and this statement executes, should I not expect that the 6th field of this entry should contain an updated $Cvalue? The whole point of this is that I've changed $Cvalue, and I want to store that. I think something like this VALUES ('$Reference','','','','','$Cvalue') should work, but I'm not sure. My intent is to pick off the record that begins with the reference field = $Reference, and replace cookie with $Cvalue. -- www.SpamWhack.com A pre-emptive strike against spam A tornado is a lady whose skirts you do NOT want to look up! Where's dave? http://www.findu.com/cgi-bin/find.cgi?kc6ete-9

« previous php.general (#4763) next »