Timeline for $wpdb insert is not work
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 26, 2019 at 12:06 | history | edited | Gabriele Carbonai | CC BY-SA 4.0 |
added 84 characters in body
|
Jun 26, 2019 at 11:54 | comment | added | MikeNGarrett |
Please add to your question that you're running this after a call to admin-ajax.php . This is an important detail.
|
|
Jun 26, 2019 at 11:40 | answer | added | Techno Deviser | timeline score: 3 | |
Jun 26, 2019 at 11:06 | comment | added | Gabriele Carbonai | And I am running this code by my own plugin with ajax. It wired that, same inputs sometimes is saving sometimes is not | |
Jun 26, 2019 at 11:00 | comment | added | Gabriele Carbonai | everything is defined and if I print $sql, copy and paste in phpmyadmin, the query is work. | |
Jun 26, 2019 at 10:41 | comment | added | Jacob Peattie |
Where and how are you running this code? Where are your variables defined? Particularly $table_name . What is the structure of your table? What is the primary key?
|
|
Jun 26, 2019 at 10:40 | review | First posts | |||
Jun 26, 2019 at 11:54 | |||||
Jun 26, 2019 at 10:39 | history | asked | Gabriele Carbonai | CC BY-SA 4.0 |