> but, if i want to send a user to a website along > with a variable like... > > $temp = "website.php?var=".$var; > include($temp); > > ...this doesn't work.
Example: <?php $var = 'foo'; include 'somefile.php'; ?> somefile.php now has access to $var. This is talked about in the manual too: http://www.php.net/include In your case above, $var will already be available to website.php if you simply include it. Regards, Philip Olson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php