Re: syntax error (stumped)

From: Date: Fri, 05 Dec 2008 13:38:02 +0000
Subject: Re: syntax error (stumped)
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-284161@lists.php.net to get a copy of this message
On Fri, Dec 5, 2008 at 1:31 AM, ddg2sailor <ddg2sailor@live.com> wrote: > > Its begining to look like this code was written for a newer sql.... [snip!] Negative. It's either a custom function or was written incorrectly in the first place. There's never been a native PHP function do_mysql_query, nor was there an sqlerr function. Instead: <?php mysql_query($sql) or die(mysql_error()); ?> .... would do the trick. > Thats all she wrote... instead of do_mysql_query , mysql_query instead. > Thanks for all your help.. I do however have another issue.. but thats > another thread. Good deal. Glad it's working. -- </Daniel P. Brown> http://www.parasane.net/ daniel.brown@parasane.net || danbrown@php.net 50% Off Hosting! http://www.pilotpig.net/specials.php

« previous php.general (#284161) next »