
How to build price list using php mysql and (ajax)?
New to programing.
Database name is rugs
Tables in database are; id (auto increment), size, price 1, price 2, price 3, price 4, price 5, and rug category.
What i need to do is when you click on a rug size it will use ajax to display the different prices on the same page for the clicked rug.
I’ve made a script that displays the rug sizes in a link format
echo “” . $row['size'] . ““;
I got the Javascript / Ajax from w3c from this example;
http://www.w3schools.com/php/php_ajax_database.asp
I cant get the getusers.php to work correctly. How can i get my JavaScript to grab the auto incremented id of every link and post it in the url, so that the getuser.php can collect the auto incremented id and process it.
That’s lot of work, may be you can contact a php/jsp expert live at website like http://askexpert.info/ .
Toronto Rug Cleaning
