Um, you do it exactly like you have indicated in your link. I'm not certain what your question is exactly. Are you unsure how to build the link string? Unsure how to retrieve the value in the target page? Please elaborate a bit.
Ezzaral
Posting Genius
15,986 posts since May 2007
Reputation Points: 3,250
Solved Threads: 847
I get the link with the prop_id variable. However I want to point something out, if I try to use for example
$varid_id = '$_GET[prop_id]';
And used $varid_id instead of $prop_id I get an error, In other words, I did not have to declare $prop_id to use it in the link.
Again thanks a lot :)
He just included that as an example of retrieving prop_id from a GET page request. If prop_id had been passed in via a link, you would get it with that code. If you are generating the prop_id from another source, you wouldn't need to pull it from the $_GET[] array.
Ezzaral
Posting Genius
15,986 posts since May 2007
Reputation Points: 3,250
Solved Threads: 847
as above, the $_GET array contains the parameters passed in the url
to get the value ?id=%s
echo $_GET['id'];
/* or if the id is being used more often than once assign it as a variable */
$id = $get['id'];
echo $id;
/* do some math */ + $id; // bla bla bla
Hth
referring to $_request, $_post, $_get in the php online manuals may provide useful code samples
almostbob
Posting Sensei
3,149 posts since Jan 2009
Reputation Points: 571
Solved Threads: 376