I used this example : http://woork.blogspot.com/2007/10/insert-record-into-database-using-ajax.html
it is working when using with Numbers for example if i enter number in these textbox it is work but when i enter string i get this error: “Unknown column ‘text’ in ‘field list'”
‘text’ is text that write in the textbox instead of ‘text’ i write ‘123’ it is working
Could you please suggest me way urgent.
Thanks all,
This error means that in your table there is no column named
text. To fix this, either rename the field you wish to update/insert to text, or figure out which column you really wish to update/insert the text into.Since your field is going to be updating/inserting a string, you need to also make sure you wrap the string in quotes.