Re: syntax error (stumped)

From: Date: Fri, 05 Dec 2008 01:38:35 +0000
Subject: Re: syntax error (stumped)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-284126@lists.php.net to get a copy of this message
On Thu, Dec 4, 2008 at 8:32 PM, ddg2sailor <ddg2sailor@live.com> 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@parasane.net || danbrown@php.net 50% Off Hosting! http://www.pilotpig.net/specials.php

« previous php.general (#284126) next »