Posts Tagged ‘Mysql’
How To Build Php Mysql Directory Website?
Saturday, October 24th, 2009How To Build Price List Using Php Mysql And (ajax)?
Monday, September 7th, 2009New 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.