Page is a not externally linkable
- Code, Content, and Presentation
-- PHP Server Side Scripting
---- sql returns nothing


TravelMan - 1:13 pm on Nov 24, 2004 (gmt 0)


> Try print_r($_POST);

Yes I'd checked to see if the array existed, and checked the form action of the sending page was set to POST.
> if(!$advcresult) die(mysql_error());

This unlocked it. No connectin to Database (hangs head in shame) How did I miss this? Sigh...

I'd failed to include the require "../dbconn.php"; line in an if condition of the script.

Feel like a right plonker now!

Thanks very much for all your help, :) its very much appreciated.


Thread source:: http://www.webmasterworld.com/php/5856.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com