RE: [PHP] RESOLVED(maybe):Warning: Cannot send session cookie

From: Date: Fri, 28 Dec 2001 09:47:53 +0000
Subject: RE: [PHP] RESOLVED(maybe):Warning: Cannot send session cookie
Groups: php.general 
Request: Send a blank email to php-general+get-78921@lists.php.net to get a copy of this message
mysql_query($query) or die(mysql_error($link_identifier)); die stops the script. Or if you want a more subtile way you can try this $result_identifier=@mysql_query($query); if (!$result_identifier) { // Do some nice error handeling } Jerry Verhoef -----Original Message----- From: David Jackson [mailto:david.j.jackson@pickledbeans.com] Sent: Friday, December 28, 2001 4:09 AM To: mhsims@midsouth.rr.com; php-general@lists.php.net Subject: [PHP] RESOLVED(maybe):Warning: Cannot send session cookie All -- It appears that the problem was a table design problems, my primary index wasn't set to auto-increment? So I was trying to insert records with duplicate keys !! This of course leads to another question, how do I return SQL error messages to the browser? Thanks, David -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net The information contained in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any form of disclosure, production, distribution or any action taken or refrained from in reliance on it, is prohibited and may be unlawful. Please notify the sender immediately. The content of the email is not legally binding unless confirmed by letter bearing two authorized signatures.

« previous php.general (#78921) next »