This is very strange as It works just fine at home on my Win2K server setup, but when I upload my code to the Redhat linux server setup I get this error. I CAN see a lot of my database stuff, but not some of it and the stuff I can't see all gives this error.
Does anyone have any suggestions as to what it might be?
Here is the code it's erroring on:
Code: Select all
<?
print " <td bgcolor="$hBGcolor" valign="top" colspan="2">";
print " <div align="$hAlignment"><font size="$hSize" face="$hFont"><b><font color="$hColor">";
$content = mysql_db_query($dbname, "SELECT * FROM welcome_message");
$Xcontent = mysql_fetch_array($content);
$subject = $Xcontent["subject"];
$message = $Xcontent["message"];
Print "$subject";
print " </font></b></font></div>";
print "</td>";
print "</tr>";
print "<tr>";
print "<td valign="top">";
Print "$message";
print "</td>";
?>Rob