Quote:
Originally Posted by mlseim
Do you just get a white blank page when you run it?
Are you sure that error reporting is enabled ... so you don't just get a white page when it fails?
Add the lines in red ... after the query to make sure it's getting to that part.
if (!mysql_query($sql)) {
die('Error: ' . mysql_error());
}
echo "finished";
exit;
|
No, the design is completely intact. No error messages, no blank white pages, nothing. Just checked to make sure error reporting was enabled and it is. As for the debugging code, it isn't echoing that so...Come to think of it I did do something similar to check earlier and my variables weren't echoed either. Checked my variables' values and even the $_POST values weren't echoed. I should also mention I'm using $_GET values as well so each article in the database gets its own page, in case that might have anything to do with it.