Jump to content

$_GET problems ...


techiefreak05

Recommended Posts

I have the following code that has a list of themes for a layout im designing na dit sets a variable "t" in the url...

[code]Theme: <A HREF="table_layout.php?t=#F0FFF0">Green</a> | <A

HREF="table_layout.php?t=#FFFFFF">White</a> | <?php echo $_GET[t]; ?>[/code]

and then i also have this:

[code]<body bgcolor="<?php echo $_GET[t]; ?>">[/code]

the background dpes not change. and when i echo $_GET['t], it has no value. what am i doing wrong?
Link to comment
https://forums.phpfreaks.com/topic/27760-_get-problems/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.