How to put the querystring name in php?
$file_get_html('http://localhost/search/?q=');
And when accessing localhost/?name=example the code looks like this
$file_get_html('http://localhost/search/?q=example');
I do not know how to put $_GET['url'] inside a php :(
$beforefile_get_htmlURLhave to do with the parameterqthat you are showing? can you better explain what is is you are trying to do?<?php // setup require_once('simple_html_dom.php'); // get DOM from URL or file $html = $file_get_html('http://localhost/serarch/?q='); ?>Wanna use the Simple HTML DOM Parser to extract data of a page. However, this page is a result of seek. So, I replace the variable in my url, the site url [search].