嗨,我在下面code
使用city value
从database
--
<?php
//echo "SELECT city FROM tbl_city_master WHERE id = ".$rs->city.""
$getCityQuery = mysql_query("SELECT city FROM tbl_city_master WHERE id = ".$rs->city."");
$resultSetCityQuery = mysql_fetch_assoc($getCityQuery);
?>
<? echo '<strong>City-</strong>' ?><? echo $resultSetCityQuery['city'];?>
我只需要在条件下说不选择城市——if else
我该如何实现该代码