Yangi formatda davom etish uchun: https://uzfor.net/view.php?act=post&id=1647
Postga havola
Жасурбек [767] [off]
Сирожиддин (Раис), bu kod bilan ish bitmayabdi. $user['tuman'] kodi regda ishlamas ekan.
mysql_query("INSERT INTO `users` SET qatoriga qatoriga live qo'shish kerak ekan `live` = '$shahar',
Shu tarzda qo'shdim:
<option ' . ($shahar == 'Toshkent shahri' ? ' selected="selected"' : '') . '>Toshkent shahri</option>
lekin bu bilan ham ish bitmayabdi, regdan o'tgandan so'ng user anketasida shahar kiritilmagan deyabdi
mysql_query("INSERT INTO `users` SET qatoriga qatoriga live qo'shish kerak ekan `live` = '$shahar',
Shu tarzda qo'shdim:
<option ' . ($shahar == 'Toshkent shahri' ? ' selected="selected"' : '') . '>Toshkent shahri</option>
lekin bu bilan ham ish bitmayabdi, regdan o'tgandan so'ng user anketasida shahar kiritilmagan deyabdi