Re: syntax error (stumped)

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

 



On Thu, Dec 4, 2008 at 8:32 PM, ddg2sailor <ddg2sailor@xxxxxxxx> wrote:
>
> This is acctualy a very simple code... But I dont know exactly what to do
> with line 18. It looks to be taking something from dox and redefining it as
> RES. There is some related code but with syntax is pretty much has to be
> this one.
[snip!]
>
> this is line 18 :  $res = do_mysql_query("SELECT * FROM dox WHERE
> filename=$filename") or sqlerr();

    What is the error?

    There are a ton of things wrong and bad with that script example,
but for now, is it a customized error output by a user function
`sqlerr` that outputs a MySQL error, or is it saying that
`do_mysql_query` isn't even defined?

-- 
</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