Jump to content

Populate an Array via Anchors/HyperLinks


FishSword

Recommended Posts

Hi,

 

How would I go about populating an array through anchors (<a>)?

 

I have several links that contain people names, and I want to put these into an array upon the user clicking them. The data inside the array will not always be the same, it all depends on what names the user clicks on.

 

If you require more information, please let me know!

 

Cheers ;)

Link to comment
https://forums.phpfreaks.com/topic/198199-populate-an-array-via-anchorshyperlinks/
Share on other sites

Showing nothing at all in the url and using hyper links is not possible with PHP alone. Is it required to have these names in hyperlinks specific? Is there perhaps another purpose for this page with clickable names other then putting values in an array?

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.