View Full Version : Include with passed variables?
08-24-2007, 10:17 PM
is it possible to include a page with passed variables and have that page read the content?
will page.php be able to get the i and u values?
08-24-2007, 11:01 PM
I don't know, my hunch says no, but you could probably have tested this in the time it took you to write it out :thumbsup:
08-24-2007, 11:03 PM
If you read the include() section in the php manual, you will find that you cannot pass parameters on the end of the url when you include the files locally through the file system.
08-24-2007, 11:32 PM
You don't really need to either, since the included page will have access to all of your variables.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.