I need help


#1

I am just learning how to use PHP and MYSQL. My goal is to create an html page that when it loads will look into the database and see what categories are available (i.e. ketchup, biscuits, chips, etc.). next to the category name I want it to display how many items are in the category (like (6) ) and then below the items that can be clicked to go to a page for the product. I know how to do the HTML portion and how to access the database but I am not sure how to put the information onto the page. Any help would be greatly appreciated.


#2

Not sure what you’re asking here. What have you tried so far? Is it echo or print that you’re looking for? Or do you have problems with the control flow? Or is the database connection giving your trouble?