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
null
16,111 posts since May 2007
Reputation Points: 3,292
Solved Threads: 873
Skill Endorsements: 28
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
null
16,111 posts since May 2007
Reputation Points: 3,292
Solved Threads: 873
Skill Endorsements: 28
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
Nearly a Senior Poster
3,280 posts since Jan 2009
Reputation Points: 585
Solved Threads: 399
Skill Endorsements: 7