ok before i ask anything, im a complete novice so please keep that in mind.
im currently creating registration page, i have the page "register.php" with all the imput forms etc, now i need the information sent to my database "gangste5_GAME".
ive been using this code:
<?php
mysql_connect("localhost", "gangste5_assid", "password") or die(mysql_error());
mysql_select_db("gangste5_GAME") or die(mysql_error());
if ($_POST['form_submitted'] == '1') {
} else {
}
?>
but i get the error message "access denied" or something to that extent. i found the code on a tutorial website, but for some reason, it hasnt asked me to enter the table name (which is "users" by the way) into the information, so im pretty sure that is the problem. but i have no idea what to do about it... could somebody please help? if you can, could you please post the whole code to enter information into the database? not just the table name part of it.