SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    boiler up blackdog's Avatar
    Join Date
    Jul 2002
    Location
    Purdue
    Posts
    1,181
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    can't create new row!

    i don't know what the problem here is! i set up a database on a server and made a form that you fill out and then php is used to make a new row with the info you fill out.

    so i export the database, move it to a new server and now the form doesn't work. i don't get any error, but no new data is added to the table. anyone have any ideas what could be going wrong?

  2. #2
    SitePoint Enthusiast
    Join Date
    Mar 2004
    Location
    Ukraine, Khmelnitsky
    Posts
    55
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have an idea.
    Do
    echo mysql_error();
    after
    mysql_query('INSERT...')
    Sergey Bres aka tserbis, Ukraine


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •