How to pass Query to MYSQL Database from Javascript

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
New php-forum User
New php-forum User
Posts: 64
Joined: Thu Mar 14, 2013 6:10 am

Fri Apr 05, 2013 6:40 am

I have implemented a feature where based on the Username selected, data should be retrieved from MYSQL database.

My question is how can i send Selected Username to my PHP class where all database operations are done from JAVASCRIPT function.

I have implemented OnClick function in javascript where i have the selected item name just i need some mechanism to pass that name to PHP where all database operations are done.

Can anyone tell how to do this

php-forum Fan User
php-forum Fan User
Posts: 974
Joined: Mon Oct 01, 2012 12:32 pm

Fri Apr 05, 2013 8:35 am

Please don't post multiple threads for the same issue, especially in the same forum.

Post Reply