INSERT INTO usernames (username, password, sitename, bannerlocation) VALUES ($USERNAME, $PASSWORD, $SITENAME, $BANNERLOCATION);
what you do is simoethlng iiek
$string = "INSERT INTO usernames (username, password, sitename, bannerlocation) VALUES ($USERNAME, $PASSWORD, $SITENAME, $BANNERLOCATION)";
and then mysql_query($string);
also ... i sugest you read up on indenting
ANd lastly ... mysql.com has Kevin's tutorials on how to writ ea relational database driver website ... WELL worth a read if you are just entering MySQL
|