ya era eso pero ahora me sale error fatal
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\wamp\www\iozk.php\re.php on line 20
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\wamp\www\iozk.php\re.php on line 23
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(nick, clave, email, pais) VALUES('ghj','ok','
[email protected]', 'ghj')' at line 1
// Comprobamos si el nombre de usuario o la cuenta de correo ya existían
$checkuser = mysql_query("SELECT nick FROM $tabla WHERE nick='$username'");
$username_exist = mysql_num_rows($checkuser);
$check_email = mysql_query("SELECT email FROM $tabla WHERE email='$email'");
$email_exist = mysql_num_rows($checkemail);
ya intente cambiar a mysql_select() pero no quiese