Like to thank everyone for their help.
I now have a working login script and registration!
However, im using:
$username = mysql_real_escape_string($username);
and
$title=mysql_real_escape_string($_POST['title']);
but need the PHP3.43 equivalent...
Any ideas?