DanielStead Posted January 5, 2006 Share Posted January 5, 2006 $query = "INSERT INTO document VALUES (0,'{$_POST['PGB_ID2']}','{$_POST['pages']}',{$doctype},{$department},'{$DocDate}', now(), {$owner}, '{$_POST['Secure']}', '{$_POST['PGB_ID1']}')"; @mysql_query($query) or die(arse); instead of saying arse i want it to print out the actually error message anyone know how to do this? Quote Link to comment Share on other sites More sharing options...
LazyJones Posted January 5, 2006 Share Posted January 5, 2006 See my signature Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.