I don't know what I'm doing wrong, but it won't update ever. I know all the variables work because I've posted them in several places, I've echoed them out, copied that and put it into the query and it's worked, and I've copied it to an entirely different page and it's worked. The one page I need it to work on, it decides not to work. I've gone through and checked the code several times as well, but for some reason it's deciding not to work. I changed the code to two lines, because I thought there might have been a problem on one line.
I've read through many posts and I've tried different things, but I'm not getting any results :(
$u = "UPDATE Profile SET Image = '$f ' WHERE Forum = '$p'";
mysql_query($u, mysql_connect(host, username, pass));