I want to pass a value through url in php. Can anyone please help me regarding this please. eg www.xyd.com/?variable=value and i print out: value I hope you got my point.
To ellaborate on mnvlxxx, the destination page would be index.php (unless your using url rewriting/mod rewrite): <?php echo $_GET['variable']; ?> PHP: Also @ mnvlxxx, get use to using full php tags, as not on every server/host is short tags enabled - such as some shared. (or situations where you don't have access to php.ini etc.).