Hi.
I am having problems getting PHP to insert data into a MYSQL data base. I am using the following variations of syntax.
mysql_query("INSERT INTO table member VALUES ('$var1', '$var2', '$var3')")
or die("couldn't add new user");
and also with session variables as well
mysql_query("INSERT INTO table member VALUES ('$_SESSION[$var1]', '$_SESSION[$var2], '$_SESSION[$var3]')")
or die("couldn't add new user");
i have put all these through a print statement to make sure the variables ae set and they print in the same block of code so i have no idea what i am doing wrong.?