Jump to content
MakeWebGames

PHPStudent

Members
  • Posts

    135
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by PHPStudent

  1. Managed to get the first part working, just having trouble with the register page /* SMF Integration - The following ___VALUE___'s, enter the relevant details for SMF database*/ $link = mysql_connect("localhost", "__DATABASE_USER__", "__DATABASE_PW__"); mysql_select_db("__DATABASE_DB__", $link) or die(mysql_error()); $passwd = sha1(strtolower($username) . $_POST['password']); mysql_query("INSERT INTO __DATABASE_DB__.`smf_members` (`member_name`,`date_registered`,`real_name`,`email_address`,`passwd`) VALUES ('{$username}',unix_timestamp(),'{$username}','{$email}', '{$password}')"); mysql_close($link); /* SMF Integration */ Gives me this error Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\register.php:177 Stack trace: #0 {main} thrown in C:\xampp\htdocs\register.php on line 177 Some help would be much appreciated!
  2. Cant get this work sadly
  3. PHPStudent

    Hi :)

    welcome back
×
×
  • Create New...