Re: RE: MySQL Results Not Being Committed To Database

From: Date: Sat, 03 Jul 2004 19:25:24 +0000
Subject: Re: RE: MySQL Results Not Being Committed To Database
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-189640@lists.php.net to get a copy of this message
$query = mysql_query($sql); $mysql_result = mysql_query ($sql, $Connection) or die ("Invalid Query - " . mysql_error());
You're running the query twice. Take out that first line. And I second the recommendation to please reply to the list and not individuals unless they request it. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com

« previous php.general (#189640) next »