Jump to content

links to database


rachae1

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.