Re: [PHP] syntax error (stumped)

2008-12-05 Thread Daniel Brown
On Fri, Dec 5, 2008 at 1:31 AM, ddg2sailor <[EMAIL PROTECTED]> 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_quer

Re: [PHP] syntax error (stumped)

2008-12-04 Thread ddg2sailor
Its begining to look like this code was written for a newer sql The sysop came up with an older php file that fixxed this issue Samples enclosed. //the file I been working on all days - relevant lines only" $filename = sqlesc($filename); $res = do_mysql_query("SELECT * FROM dox WHERE fi

Re: [PHP] syntax error (stumped)

2008-12-04 Thread Chris
ddg2sailor wrote: I have been looking at this code all night and at one point I drew the same conclusion. But I havent been able to find it Il beg the moderators indulgence here.. But I really do need to add this code which calls the other code as a user hits a link. Find the file where do_

Re: [PHP] syntax error (stumped)

2008-12-04 Thread ddg2sailor
I have been looking at this code all night and at one point I drew the same conclusion. But I havent been able to find it Il beg the moderators indulgence here.. But I really do need to add this code which calls the other code as a user hits a link. //dox.php// 0) stderr("Error", "A file wi

Re: [PHP] syntax error (stumped)

2008-12-04 Thread Nathan Nobbe
On Thu, Dec 4, 2008 at 6:44 PM, ddg2sailor <[EMAIL PROTECTED]> wrote: > > 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 likely something to do w/ do_mysql_que

Re: [PHP] syntax error (stumped)

2008-12-04 Thread ddg2sailor
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,

Re: [PHP] syntax error (stumped)

2008-12-04 Thread Daniel P. Brown
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 b