Sorry , I did mean to mention that... But I forgot.
The original error is :
Fatal error: Call to undefined function do_mysql_query() in
C:\xampp\htdocs\getdox.php on line 18
Something to do with this // or sqlerr(); //?
Thanks
Daniel P. Brown-2 wrote:
>
> On Thu, Dec 4, 2008 at 8:32 PM, ddg2sailor <[EMAIL PROTECTED]> 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/
> [EMAIL PROTECTED] || [EMAIL PROTECTED]
> 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
>
>
>
--
View this message in context:
http://www.nabble.com/syntax-error-%28stumped%29-tp20846197p20846336.html
Sent from the PHP - General mailing list archive at Nabble.com.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php