I know you get loads of these 'can't use insert' problems, so I have read all of them and not found why my insert query is not working. Heres the insert -
$resultat_sql = mysql_db_query("INSERT INTO 'indy' (name,email,rank) VALUES ('$name', '$email', '$rank')", $connexion) or die(" <br>Didnt work"
echo "Added";
It works a treat if I use fixed values, but variables are a no-go.
Any ideas?
I'm a mySQL newbie, so be gentle. Dean Owen
$resultat_sql = mysql_db_query("INSERT INTO 'indy' (name,email,rank) VALUES ('$name', '$email', '$rank')", $connexion) or die(" <br>Didnt work"
echo "Added";
It works a treat if I use fixed values, but variables are a no-go.
Any ideas?
I'm a mySQL newbie, so be gentle. Dean Owen