G:
/
PleskVhosts
/
seeonsoft.com
/
hp.thefalconunited.com
/
up file
home
<?php $q=$_GET["q"]; echo "<option value='' disabled='disabled'>Select Vehicle Type</option>"; $con = mysql_connect("50.62.209.50:3306","netco_soft","netco_soft123!@#"); //$con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("netco_soft", $con); $sql="SELECT * FROM vehicle_types where brands= '$q'"; $result = mysql_query($sql); while($row = mysql_fetch_array($result)) { $vtypeid = $row['vtypeid']; $typename = strtoupper($row['typename']); echo "<option value='$vtypeid'>$typename</option> "; } mysql_close($con); ?>