Results 1 to 2 of 2
Thread: style relyant site
-
December 28th, 2007, 09:05 PM #1
style relyant site
i new to the php biz, and i have been trying to build a site that revolves around the a
$_GET[style] basis, in other words my tags go like
<?echo "<img src=\"".echo $_GET[style]"_myImg.jpg\"?>
and
<a href="?style=<?echo $_GET[style]?>&page=home" target="_self">home</a></td>
but when i include a page, the included page cant access the $style...
and someone please tell me and easy way to have and included page get the var values of the URL or at least its parent page???
-
December 29th, 2007, 03:21 PM #2
Not sure what you mean but in main page put:
and in the included page put:PHP Code:$style = $_GET['style'];
Not sure what you mean though.PHP Code:echo $style; //or whatever you want to do with the variable

Reply With Quote



Bookmarks