The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Ajax form POST help
I would like to post a form via ajax to a php file
The file is index.php, the string passed in has to be ?do=xyz The form data we need looks like this Code:
<form> <tr> <td class="alt1">A: </td> <td class="alt1"><input name="post_array[A]" type="text" value="$a" size="10"></td> </tr> <tr> <td class="alt1">B: </td> <td class="alt1"><input name="post_array[B]" type="text" value="$b" size="10"></td> </tr> <tr> <td class="alt1"> <div align="center"><input name="Edit" type="submit" id="Edit" value="Update"></div> </td> </tr> </form> I really dont know a whole lot about AJAX, and none of the examples I could find included dealing with arrays from forms. The php script expects post_array to be an array so it can foreach over it and use key + value for db inserts/updates. Thanks in advance for any help/flames. <3 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|