Re: syntax error (stumped)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 5, 2008 at 1:31 AM, ddg2sailor <ddg2sailor@xxxxxxxx> 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@xxxxxxxxxxxx || danbrown@xxxxxxx
50% Off Hosting! http://www.pilotpig.net/specials.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux