Jump to content

Recommended Posts

writing (building) a complete application requires that you have already mastered (learned and practiced) using the tools needed to build the application.

 

unless you know how to produce a form for the browser and produce the .php code to take the submitted form data and insert it into a database table, you won't be able to do these things for your data.

 

next, using ajax to submit a form, is an 'extra' feature, and in general, can be added to an existing working form by adding an event that calls a function that submits the data using an asynchronous http request and prevents the browser from submitting the form. the .php code that process the form data will be the same, regardless of using ajax or not.

 

if you don't know how ajax works, you need to first learn and practice writing code that uses ajax to submit post data to a .php page. then, adding that functionality to a comment form will be the easy part.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.