This code for creating users does not work
PHP Code:
$connect5=mysql_connect("SERVER","USERNAME","PASSWORD") or die ("Could not connect to database");
mysql_select_db("DATABASE") or die ("Could not find database");
$query10 = mysql_query("INSERT INTO members VALUES ('','$username','$enc_password','$name','Private')") or die("error");
It seems to connect fine however the insert into statement triggers the error message and consequently no user is created. Does anyone know why this is?