Jump to content

Problem with php super globals


reado

Recommended Posts

Hi I am having some problems with using SESSION and POST

 

at the moment I have code that uses $_GET to save information so that I can do..

 

 

<a href="<? echo $_SERVER['PHP_SELF'].'?squad='.$line['ID']; ?>Click here</a>

 

to pass variables inbetween.

 

What I want to be able to do is have a list of links that are created from a query and then these can be clicked which then reload the page and doing an extra query around the squad ID of the line selected.

At the moment as you can see the squadID is sent through $_GET I was just wondering if there is any other way of doing this using SESSION or POST without having to set up a form or if so still using normal href links to do so.

 

If I don't make sense just say and I'll post a more detailed account of what I want to do.

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/112585-problem-with-php-super-globals/
Share on other sites

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.