I've tired removing every thing from the script, and just leaving the mysql connection. But, I still get the same error, this time on line 8.
<?php
mysql_connect("localhost","user","pass");
mysql_select_db ("db_name");
?>
<?php
$post_query = mysql_query("SELECT buysell FROM subject");
while ($post = mysql_fetch_array($post_query)) {
?>
I've used these same line of php in other scripts on a different sever than the one I'm on now however. I can't see anything wrong. :mad: