Re: omg help...insane simple query won't work I must be blind

From: Date: Tue, 24 Feb 2009 20:08:53 +0000
Subject: Re: omg help...insane simple query won't work I must be blind
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-288749@lists.php.net to get a copy of this message
On Tue, Feb 24, 2009 at 14:55, Terion Miller <webdev.terion@gmail.com> wrote: > > And yes yes I know escape my strings ...I'll go back and do that when the > stupid insert is actually working... I'd suggest that it's probably the reason your insert isn't working. Add your mysql_real_escape_string() stuff there, and then change your error bit to: <?php // .... mysql_query($query) or die("SQL: ".$query."<br />\nError: ".mysql_error()); // .... ?> -- </Daniel P. Brown> daniel.brown@parasane.net || danbrown@php.net http://www.parasane.net/ || http://www.pilotpig.net/ Unadvertised dedicated server deals, too low to print - email me to find out!

« previous php.general (#288749) next »