Even when I add the double quotations or no quotations at all, nothing still comes up. The url is in the format:
http://example.com?a=$b
dreamcatcher
5:37 pm on Nov 22, 2005 (gmt 0)
Have you echoed the $url variable to see if its populated?
coopster
5:44 pm on Nov 22, 2005 (gmt 0)
There shouldn't be any difference. I am referring to the parsing of the '$url' which is not happening in the file() function because of the single quotation marks. Are we indeed discussing the same thing? Because it should work just as if you were keying the url into the file() function.
Dump the $url variable to your browser to make sure you have the url value there ...
rjbearcan
7:31 pm on Nov 22, 2005 (gmt 0)
I got it fixed. I was missing a semicolon from the previous line. Thanks for your help!