I am having some problems when trying to update a MYSQL database table using PHP. Here go the code I am using:
/*** update Field*/
$conn = mysql_connect("localhost", "user", "pass");
mysql_select_db("database",$conn);
$sql = "UPDATE users SET pic = ".$newname." WHERE username =...
I uploaded a file and only the end part of that file is being shown. I've checked everything but I am now sure of what is causing this. I have provided the code being shown and the full code below.
Here is the code that is being shown on the live webpage (via view-source):
<!DOCTYPE html...
I did what you said about the tables and layout. That fixed my problem! I guess it was the tables, I'll make sure I don't use them anymore.
Thank you very much!
Alright, so I am coding a music membership site and everything is well but when I log in, the DIVs I have placed goes all over. Here photos and the code for that section, they will better explain it:
Before logging in(Correct layout): http://i39.tinypic.com/1rce2c.png
After logging in(Messy...