Re: Query Query

From: Date: Sun, 30 May 2004 19:53:13 +0000
Subject: Re: Query Query
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-187249@lists.php.net to get a copy of this message
The Digital E wrote:
$query="UPDATE $table_name SET company_name='$company', first_name='$first_name', last_name='$last_name', address='$address', city='$city', state_province='$state', postal_code='$postal', office_phone='$office', fax_phone='$fax', email='$email' WHERE company_name='$mod_dataset'";
What does mysql_error() says? Tried to print out the query and execute it directly in the mysql prompt or phpmyadmin? What happens then? -- Johan Holst Nielsen Freelance PHP Developer http://phpgeek.dk

« previous php.general (#187249) next »