I have a php file in which I include PHP Simple HTML DOM Parser: include("simple_html_dom.php");
This inclusion makes mine mysql_query($query)run twice on my page - if I remove the inclusion, it mysql_queryworks fine - I also tried to include the inclusion after the request - the same problem!
mysql_query("INSERT INTO table (abc) VALUES ('ok8')");
echo "x";
include("simple_html_dom.php");
The result is 2 rows of my table, but one "x" in the browser. (Also tried to put echoearlier). Please, help!
source
share