Yangi formatda davom etish uchun: https://uzfor.net/view.php?act=post&id=47164
Postga havola
gi8ri7 [1900] [off]
JohnCMS 6 uchun lenta yozmoqchiman bir savol tug'ildi bitta sahifada bir qancha bazadagi ma`lumotlarni chiqarmoqchiman ho'sh iloji bormi?
$query = mysql_query("SELECT `id`, `name`, `time`, `kimga_id`, `kimdan_id`, `count_views`, `comments`, `count_comments` FROM `album_uchun`, `status_uchun`, `forum_uchun`, `photos_uchun`, `blog_uchun` ORDER BY `time` DESC LIMIT " . $start . "," . 10);
while ($res = mysql_fetch_assoc($query)) {
echo 'ma`lumotlarni chiqarish uchun kodlar';
}
Qilib chiqarish mumkinmi? Tepadagi FROM `album_uchun`, `status_uchun`, `forum_uchun`, `photos_uchun`, `blog_uchun` ni nazarda tutdim bazadagi ustunlar bir hil bo'ladi ya`ni albom_uchun, status_uchun, forum_uchun, photos_uchun larda barchasida id, name, time, kimga_id, kimdan_id, coments bo'ladi
Tushuntira oldim-mi?
2 daqiqa 58 soniyadan keyin yozdi:
status_uchun, album_uchun larga koment qoldirganida yoki klass bosganida ma`lumotlar yoziladi
$query = mysql_query("SELECT `id`, `name`, `time`, `kimga_id`, `kimdan_id`, `count_views`, `comments`, `count_comments` FROM `album_uchun`, `status_uchun`, `forum_uchun`, `photos_uchun`, `blog_uchun` ORDER BY `time` DESC LIMIT " . $start . "," . 10);
while ($res = mysql_fetch_assoc($query)) {
echo 'ma`lumotlarni chiqarish uchun kodlar';
}
Qilib chiqarish mumkinmi? Tepadagi FROM `album_uchun`, `status_uchun`, `forum_uchun`, `photos_uchun`, `blog_uchun` ni nazarda tutdim bazadagi ustunlar bir hil bo'ladi ya`ni albom_uchun, status_uchun, forum_uchun, photos_uchun larda barchasida id, name, time, kimga_id, kimdan_id, coments bo'ladi
Tushuntira oldim-mi?
2 daqiqa 58 soniyadan keyin yozdi:
status_uchun, album_uchun larga koment qoldirganida yoki klass bosganida ma`lumotlar yoziladi