Timeline for Jquery Ajax Inserting data into a database
Current License: CC BY-SA 3.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 1, 2018 at 13:05 | history | edited | Ryan McDonough | CC BY-SA 3.0 |
deleted 33 characters in body
|
| Nov 12, 2014 at 20:12 | review | Close votes | |||
| Nov 19, 2014 at 0:02 | |||||
| Nov 12, 2014 at 20:01 | vote | accept | Chris Waszczuk | ||
| Nov 12, 2014 at 19:57 | history | edited | Chris Waszczuk | CC BY-SA 3.0 |
added 606 characters in body
|
| Nov 12, 2014 at 19:54 | answer | added | elzi | timeline score: 1 | |
| Nov 12, 2014 at 19:53 | comment | added | user1864610 |
When you're assembling your data for your Aax call you're using commentInput, but you're looking for $_POST['commentsInput']. Your code is also wide open to an SQL injection attack.
|
|
| Nov 12, 2014 at 19:51 | answer | added | jeroen | timeline score: 0 | |
| Nov 12, 2014 at 19:49 | comment | added | Jay Blanchard | Have you observed the AJAX request to make sure the comments are sent to the server? | |
| Nov 12, 2014 at 19:45 | history | asked | Chris Waszczuk | CC BY-SA 3.0 |