Cannot insert data into database

Discussion in 'PHP' started by anchitjindal07, Oct 25, 2009.

  1. anchitjindal07

    anchitjindal07 New Member

    Joined:
    Jul 13, 2009
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    Hi
    I have created a form in html using the code at http://pastebin.com/f11b9724f
    The code of process5.php is at http://pastebin.com/f35d8ad2f Now I want to store the data filled in form by user to database. But there is some problem in process5.php as it is giving following output
    Successfully connected The database and table have been successfully created as shown by phpMyAdmin. Bt the table is empty Plz help...I cannot insert the data into database
     
  2. pradeep

    pradeep Team Leader

    Joined:
    Apr 4, 2005
    Messages:
    1,645
    Likes Received:
    87
    Trophy Points:
    0
    Occupation:
    Programmer
    Location:
    Kolkata, India
    Home Page:
    http://blog.pradeep.net.in
    May be your data contains single quotes, use function add_slashes!
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice