As this is on the same topic I will continue here.
This code within the php file
$file = str_replace("<form>","<form action=\"http://www.ozyautos.com.au/calculator.php\"><input type=hidden name=mod value=re_search><input type=hidden name=ad_type value=sale><input type=hidden name=type value=\"".$type."\"><input type=hidden name=ad value=\"".$ad."\">",$file);
brings up the results on a new page thus the calculator.php page which I have created but I would prefer this page to be opened in a new window and be smaller.
I have tried using "target" but that doesn't seem to be working in the php file.
Can anyone help here please?