Welcome Guest, Not a member yet? Register   Sign In
Using string variables in simple html dom url
#1

I am using pyrocms 2.2, which use the codeigniter engine. I would like to use string variables at the simple html dom url variable in the template php. I already added simple html dom to the library. If I try to parse full url address, then parsing is successful. But I would like to parse specified data, like $url = 'http://address.com/{{ category:country }}';

If i echo the $url then I receive the address which I need to parse. But parsing is not successful, because I receive error messages about "failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request", like the $url variable is empty and simple html dom can't parse it. I hope some expert could help for me, thanks.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB