Search the Community
Showing results for tags '$_get'.
Found 3 results
BACKGROUND: I have some PHP code that I would like to turn on and off from two different approaches: on the one hand, via an HTTP Request from a third-party domain; and on the other hand, via the href attribute of an HTML <a> tag on the same page. Under normal circumstances one might write something like case one. I am proposing cases two and three. Third Party Domain HTTP Request (CASE ONE): Podcast No. 3 <a href='www.grammarcaptive.com?hash=2348dd8we23jrkajddu&podcast_no=003' title='Podcast Overview' target='_blank'>Overview</a> Same Page HTTP Request (CASE TWO): Podcast No. 3 <a href='#podcast_003?hash=2348dd8we23jrkajddu&podcast_no=003' title='Podcast Overview' target='_blank'>Overview</a> Same Page HTTP Request (CASE THREE): Podcast No. 3 <a href='./?hash=2348dd8we23jrkajddu&podcast_no=003' title='Podcast Overview' target='_blank'>Overview</a> QUESTION ONE: If neither case two, nor three is permissible, how would you suggest to achieve the same goal. If either or both cases two or three are possible, which is preferable and why?
Hy everyone I would like to get some kind of input for a problem I have. I've got a page (A) wich calls an guestid and selects from the DB the data. Now, I wanna do a Page ( witch is a form Thing is, I need to bring the Guestid from page (a) to page ( - also need to have a new ID (ex. clientid) for the form So far I did it with $_GET['id']; in the page ( i got: $id= (isset($_GET['id']) && is_numeric($_GET['id'])) ? $_GET['id'] : 'new'; the thing is, by opening the form I loos the guestid which I need to reecall somehow. so that there will be at the end: $ID = 'new' $guestid = $guestid for any Inputs I would be more then pleased.