Page 1 of 1

Deleting Data in Mysql

Posted: Mon Aug 30, 2010 8:00 am
by jodesk23
Hi there!!

How can I delete data from MySql using Javascript? Any script with confirmation before deleting the records in MySql?

Thank you

Re: Deleting Data in Mysql

Posted: Mon Aug 30, 2010 9:10 am
by JakeJ
You can't interact with MySQL directly through javascript. Javascript is a client-side scripting language.

You can use javascript ajax requests to call server-side code, (PHP, ASP, etc.) that will manipulate your database though.

Re: Deleting Data in Mysql

Posted: Thu Sep 09, 2010 7:39 am
by vishal5085
Javascript is used for Client-side Validation. It cant interact with back-end Mysql Database.
For tat You have to Server-side scripting Language like php,java,tcl and so on. :)