这句代码哪里错了呀,前台登录管理中心显示这样

else if(is_mobile_phone($user_name))
	{
		$sql = "select user_name from " . $ecs->table('supplier_admin_user') . " where mobile_phone='" . $user_name . "'";
		$rows = $db->query($sql);
		$i = 0;
		while($row = $db->fetchRow($rows))
		{
			$username_mobile = $row['user_name'];
			$i = $i + 1;
		}


http://img.mukewang.com/58b0e43d0001a03209780218.jpg

Mileswongke
浏览 1578回答 3
3回答

习惯受伤

mobile_phone这个字段不存在

慕的地8582982

AQHLBUYIRVFBEKSPDYIHYPJFTJQVNXTNHMJCNCSZFPJXQWWPFPTAPXVYBLLJQWTMGNZDGHYWAGWYSTHLZCFCHTKXENNZQZKNMMZHKAJXHSYKHRQAQWRUEQJDDLLZXDNUOEBITMJZVZWJMGPTZJDAKUAGWKVBFQJJQPVWWWFSWFVHVXUELAAMHRHYXUOFHLUFSRZVFGJMBBKIMIOMMILOROOZJFDTTJPLZYQJCIPKDSVFSFEKXOMMJJCGMPOIIDZPCMCKAZGAZVYBVBPFEEEXGDZMCNUGVZSYTWPZFGCPIXDDKUUXBOCZVOBPIWSISCOQQCPZKADCJJUDQWNMEALYSMJZQRBEOXQJLUBLOJLMCPSHNWDXHKNZCCPRRPIGRIBBXZZDTNMUZYCWMISSPMCLUXHBVRKAVRXTHNSMVJMTOCLLCTNTXKKGFCFJTPCSCWWXGNVTWJXKTUHQATAWVLMHKQNKJFRHKIRLMLIEAHDDDNMTGSLGMCPQTKKWEYHWWWZMWWCFJAWZMAANJZFMEUGROXXREBYGSYSVVVBAKHNNJDTWZVOYGCFWFZSMXXKVVXDHRBPYXHBWPMGBLSVKBZJFWZOLVLOZITIXTJSOEUXHTXAQNQLILUQIIHOOLHAZSTOOODDWMTMCGNJAGHNDRNSPKMVXGAEKTDDELNWBASWFSYOOAFVFLRDBYEAGJREBRHSVFVMQENJPYCXDXDXROYFEBYPVCCXXAQQJZYUYCWWPGSZTEOSRVFOIRBOOVIIRTAXXUBENZGNFWPFNXDHGXNYEPEBOXRRMVPXHDQUKQTHUYIONXRFCJWFUUDTWJMYZGUMMVBSDBUVWZKQWMNNILERKFBFLKTTTJUUFLENHQQSPJDDDQXEU

炫彩年华

你这是面向过程编码啊,建议用面向对象和框架,一楼说得对
打开App,查看更多内容
随时随地看视频慕课网APP