thanks
i remember why i am only getting a blank page
apache2triad puts all errors in the php error log. and i've not found out how to turn it on so it shows on the page
ok i fixed it up and now im getting an sql error
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ' image='sig1'' at line 1
(new code with the edits)
<?php
session_start();
?>
<html>
<head><title> Edit Sig</title></head>
<?php
include ('db.php');
$AccountName = $_SESSION['username'];
$image = $_POST['image'];
$font = $_POST['font'];
$sql = mysql_query("UPDATE silent_aggressions SET font='$font', image='$image' WHERE AccountName='$AccountName'") or die (mysql_error());
$sql_doublecheck = mysql_query("SELECT * FROM silent_aggressions WHERE font='$font', image='$image'") or die (mysql_error());
$doublecheck = mysql_num_rows($sql_doublecheck);
if($doublecheck == 0){
echo "<strong><font color=red>Your Sig couldn't be changed!</font></strong>";
} elseif ($doublecheck > 0) {
echo "<strong>Your sig has been changed!!</strong><br />";
}
?>
</body>
</html>
and im pritty sure that there is something wrong with the double check. so if you could tell me how to rewrite that or something please do