 |

$connection = mysqli_connect("localhost","vexcorsy_chips","K1k?q^nA#3zh","vexcorsy_chips");
//mysql_select_db("vexcorsy_chips");
$search=$_POST["search"];
$mark=$_POST["mark"];
$hledat=$_POST["hledat"];
$mezera=" ";
$searching=$mark.$mezera.$search;
if ($hledat==1) {
$result = mysqli_query($connection, "SELECT * FROM ecus WHERE ecu LIKE '%$searching%'");
$radku=mysqli_num_rows($result);
echo ("Manufacturer - Model - Swept volume (ccm) - Serial Number - Chip Nummber - Eprom - Checksum
");
echo ("Found $radku results for $searching
");
//grab all the content
while($r=mysqli_fetch_array($result))
{
$ecu=$r["ecu"];
echo "$ecu ";
}
} else {
echo ("Please select your car and model.");
}
?>
|