I have a mysql database, all the code to connect to it, but now what I want is to make my HTML menu items, when clicked, display basically the same page, but with different content. Is there a way to do this with $_GET or $_POST ? Or should I use something different? Please help and recommend...
I have a menu, with multiple <li> links. When clicked, I want them to change the PHP variables $showsec and $showcat. How would I do this? Here is my code so far, if it helps...
<li><a href="#">Business</a></li>
<li><a href="#">Entertainment</a></li>
<li><a href="#">Local News</a></li>...
I need to first get data from a mysql database, but the problem comes when I try to retrieve the data, and filter it out. I only want articles in section1, category 1 to appear on this page, but I don't know how to filter those out from all the others. Here is my existing code so far. If some of...