Entry
how do i make a var set in the query string available to another file ?? eg to a css
Apr 6th, 2002 15:08
Jeff Kayser, colin xbo,
just reference the query string variable within the css/html. try the
following code as an example -
---------
<html>
<head>
<style>
body {
background-color: #<?=$bg?>
}
</style>
</head>
<body>
<form action='<?=$PHP_SELF?>' method='get'>
Set Page Background Color #<input name='bg' value='<?=$bg?>'>
<br><br>
<input type='submit' value='Change'>
</form>
</body>
</html>