INSERT INTO statement won't take variables as values!
When i try to use post variables with php and mysql i can't get the insert into statement to accept varibles as values. If i use 'test' instead of $test it does work. I suspect it is something to do with the javascript im using but i can print the correct values so why am i unable to use them to enter data to a database? sorry i am new to all this
I cant seem to use the $_session variable. I am using xml so i am going from index.xml with the login to validatelogin.p hp to check the crudentials against mysql database and then moving to welcome.xml. i am new to this and support for this combination of xml and php seems sparse.
il try your first suggestion
thanks
Adam
when i say xml i should be saying i have xml files that are transformed...
hi, i am trying to use a hidden form as a method of storing varibles for use throughout an online quiz site.
I am using mysql to hold data about the users ie user id username and user password etc.
The information is input into a visible form and then when the user clicks the submit button, a validatelogin.p hp script is run which takes the data from the input and checks it against the mysql database.
Leave a comment: