Yangi formatda davom etish uchun: https://uzfor.net/view.php?act=post&id=20247
Postga havola
MaJoR_LaZeR [81] [off]
Men mana bu kodni function.php ga yozmoqchi edim( user niki tagida club emblemasi korinshi uchun). Shu kod togrimi yozsam oqarib qolyabdi.
$club= mysql_fetch_array(mysql_query("SELECT `id`, `name` FROM `fman_clubs` WHERE `user_id` = ".$user['id'].";"));
if($club){<img src="../man/emblems/' .$club['id'] . '.jpg" style="vertical-align:middle;" width="20" height="20"/><a href="' . $home . '/man/club.php? id=' . $club['id'] . '">'.$club['name'].'</a>';}
$club= mysql_fetch_array(mysql_query("SELECT `id`, `name` FROM `fman_clubs` WHERE `user_id` = ".$user['id'].";"));
if($club){<img src="../man/emblems/' .$club['id'] . '.jpg" style="vertical-align:middle;" width="20" height="20"/><a href="' . $home . '/man/club.php? id=' . $club['id'] . '">'.$club['name'].'</a>';}