views:

43

answers:

1

can we use JQ insted of php for developing website. which one is more preferable. I think we can also use JQ for web development.Using JQ we can Execute MySql query like php. Which One is better? and why?

+3  A: 

PHP is for the backend, and JavaScript (jQuery) is for the frontend. You need a PHP backend to make SQL queries, and you can use jQuery for client-side (web browser) things.

Rocket
Thanks for give me right information about my confusion b/w php and JQ.
Pankaj