User Profile

Collapse

Profile Sidebar

Collapse
adamace5o
adamace5o
Last Activity: Mar 6 '08, 04:18 PM
Joined: Feb 10 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • 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

    here is the updatedata.php file
    Code:
    <?php 
    
    session_start();
    ...
    See more | Go to post
    Last edited by ronverdonk; Feb 28 '08, 07:02 PM. Reason: code within tags

  • 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...
    See more | Go to post

    Leave a comment:


  • adamace5o
    started a topic PHP and XML - using hidden forms as variables
    in PHP

    PHP and XML - using hidden forms as variables

    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.

    ...
    See more | Go to post
No activity results to display
Show More
Working...