tried:
include("file.php?filter=$filter");
?
tried:
include("file.php?filter=$filter");
?
Dan Morley
alpharooms.com
daniel at alpharooms dot com - Hotels, Flights, Airport Transfers, Care Hire + More! sign up
My Blog | Cheap Holidays
and if Dan's suggestion doesn't work, try including the whole url -
include('http://www.yoursite.co.uk/file.php?filter=$filter');
I'm sure I read somewhere that if you just include the filename then it isn't parsed properly, so it looks for a file called 'file.php?filter=$filter'
Ian, I always thought that if you wanted to output a $thing, sorry don't really know what there called strings, variables, arrays?
That they had to be inside speach marks (") rather than just ('), have a funny feeling that if u use (')'s it will literally include:
http://www.yoursite.co.uk/file.php?filter=$filter
Rather than replacing $filter with the actual filter, scifind if my first sugestion doesn't work try what Ian said with (")'s instead of (')'s.
If all that makes sence to you well done.
Edit: Poor typing
Dan Morley
alpharooms.com
daniel at alpharooms dot com - Hotels, Flights, Airport Transfers, Care Hire + More! sign up
My Blog | Cheap Holidays
Hi
Just set the $filter var before the include !
e.g.
<?php
$fliter="yes";
include ("filename.php");
?>
Cheers
Hi
I thought that was how to do it ( I was sure I have used all ways befroe)
There was a problem with the script in question so it wouldn't apply the filter (a silly mistake of mine, updating and uploading an older version of the script
Follow Me | Looking for Merchants Who Do Scifi Stuff
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks