...

View Full Version : Writing "your version is" based on ?v="blah" in address to page



SCSS
06-27-2005, 09:28 PM
How would I go about writing "You have a version ___" on a page, having ___ determined by the link to the site i.e. version.php?v=2 would show up "you have a version 2"? I know how to do it, but it has slipped my mind! Can someone help me out?

marek_mar
06-27-2005, 09:34 PM
<?php
print 'You have version: ' . $_GET['v'];
?>

??

SCSS
06-27-2005, 09:40 PM
Thats exactly it. EDIT nvm got it figured out! Thanks!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum