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!