Yangi formatda davom etish uchun: https://uzfor.net/view.php?act=post&id=27999
Postga havola
MrShahzodbek [1027] [off]
Bekmurod, to'liq yozishni iloji bormi yuqoridagi kod bilan birgalikda?
1 daqiqa 33 soniyadan keyin yozdi:
Shundaymi?
1 daqiqa 33 soniyadan keyin yozdi:
$hosttype = hosting; $query = sprintf("SELECT cost, servername FROM tarifs WHERE vid = '%s' ORDER BY id ASC LIMIT 3", mysql_real_escape_string($hosttype)); $result = mysql_query($query); IF (!$result) { $message = 'Invalid query: ' . mysql_error() . "\n"; $message .= 'Whole query: ' . $query; die($message); } $b=0; $narxi=array(); while ($row = mysql_fetch_assoc($result)) { echo $narxi[$b]=$row['cost'];} ?>
Shundaymi?