rachae1 Posted September 7, 2007 Share Posted September 7, 2007 Hi, I have links.php that has 3 categories: <a href="links.php">Show Last 10 Added</a> <a href="links.php?type=category1">Category1</a> <a href="links.php?type=category2">Category2</a> <a href="links.php?type=category3">Category3</a> These all link perfectly, I was wondering if it was possible to create a link to display all the data in my table like this. <a href="links.php?id=">Show All</a> Thanks Rachael Quote Link to comment https://forums.phpfreaks.com/topic/68346-links-to-database/ Share on other sites More sharing options...
Styles2304 Posted September 7, 2007 Share Posted September 7, 2007 I would guess that you could just make another category link and then add to the if statement (that I'm guessing you already have on links.php) so that if it's whatever category it will display everything. I don't really know enough about what you're doing to actually show you any code . . . hope that helps. If not . . . you can thank me for the bump! lol Quote Link to comment https://forums.phpfreaks.com/topic/68346-links-to-database/#findComment-343646 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.