我是具有以下代码的数据。
$parametre = mysql_query("select * from faturaparametre where musteri='$musteri' and
urungrubu='$urungrubu' and tasimasekli='$tasimasekli' and donem<= '$tarih' and donem2>= '$tarih' and teslimnoktasi='$teslimnoktasi1' and $agirlik BETWEEN min and max");
while($parametresonuc = mysql_fetch_array($parametre)) {
$fatparametreid = $parametresonuc[id];
$ynadresno = $parametresonuc[yuklemenokta];
如果您没有以下变量,请跳过此过程:列表中的下一个变量 如果搜索过程中的最后一个变量没有中断,我该怎么做?
$adresil1 = mysql_query("select * from adresler where id='$yuklemenokta'");
$adressonuc1 = mysql_fetch_array($adresil1);
$yuklemeadresno = $adressonuc1[adresno];
$yuklemeil = $adressonuc1[noktail];
$yuklemeilce = $adressonuc1[noktailce];
$yuklemeilb = "il".$yuklemeil;
此代码不会运行多个优先级查找。并且找不到完全相同的东西
if(eregi($ynadresno, "$yuklemeadresno")) {
$ftid = $fatparametreid;
}elseif(eregi($ynadresno, "$yuklemeilce")) {
$ftid = $fatparametreid;
}elseif(eregi($ynadresno, "$yuklemeilb")) {
$ftid = $fatparametreid;
}else {
}