Results 1 to 4 of 4
  1. #1
    Grandma broke her coccyx! Uncle Rico's Avatar
    Join Date
    May 8th, 2007
    North Carolina
    Php Page / Form Processing / Mysql Insert / No Page Refresh
    I have a php page that has a form on it for the user to fill in. Upon submit of that form, I would like to insert the data from the form into my database table called tableA, and then refresh a div tag on the same page with updated data from tableA.

    And I would like to do all of this without refreshing the entire php page. I assume this has something to do with ajax.

  2. #2
    Affiliate Manager
    Join Date
    April 25th, 2008
    Lexington KY
    It's definetly an ajax thing

    checkout prototype.js it's open source and easy to implement

    you can get a copy at prototypejs[dot]org I use it for a lot of my ajax forms


  3. #3
    Full Member Code Monkey's Avatar
    Join Date
    June 11th, 2007
    I implemented something like this just a few months ago..

    Try as a resource..
    Stop blaming the parasites, low return days, cookie stuffers, networks, lousy AMs, and TOOLBARS!

  4. #4
    ABW Ambassador Snib's Avatar
    Join Date
    January 18th, 2005
    Just call a Javascript function upon clicking the submit button then inside this function grab and escape() each form value. Then use a basic AJAX call to pass the data to a PHP script. No real need to complicate things with a Javascript library in this situation.

    - Scott
    Hatred stirs up strife, But love covers all transgressions.

  5. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Popup Re-Sized Php Page on Form Submit?
    By Uncle Rico in forum Programming / Datafeeds / Tools
    Replies: 1
    Last Post: July 29th, 2008, 05:06 PM
  2. PHP MySQL Bulk Insert
    By popdawg in forum Programming / Datafeeds / Tools
    Replies: 4
    Last Post: March 3rd, 2006, 11:25 PM
  3. How To Insert an External Javascript File into a Page?
    By jimh009 in forum Midnight Cafe'
    Replies: 3
    Last Post: May 22nd, 2004, 03:04 AM
  4. eBaY Changes Its Registration Page. Not Processing
    By BenzCL600 in forum Commission Junction - CJ
    Replies: 2
    Last Post: September 7th, 2002, 10:54 AM
  5. MySQL Insert Data Problem - Help!
    By Taurus in forum Programming / Datafeeds / Tools
    Replies: 11
    Last Post: July 24th, 2002, 08:38 PM

Posting Permissions

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