Yangi formatda davom etish uchun: https://uzfor.net/view.php?id=736&page=66
Johncms bo'yicha umumiy savollar
Mavzu fayllari (121)
Xabarlar
JAMES_RODRIGUEZ, # JAMES_RODRIGUEZ (13.08.2018 / 07:47)
"< shunaqa belgilar bazaga < shunga o'xshab yozilyapti bu nimadan?Filtrdan bo'lishi mumkun.
html_entity_decode() shu funksiya orqali tog'irlab ko'ring.
http://www.php.su/html_entity_decode
"< shunaqa belgilar bazaga < shunga o'xshab yozilyapti bu nimadan?Filtrdan bo'lishi mumkun.
html_entity_decode() shu funksiya orqali tog'irlab ko'ring.
http://www.php.su/html_entity_decode
Bekmurod,
shuni qanday qilib o'zgartirishim kerak
$wtext = "O`yinchi <a href='player.php?id=$atpj[id]'>$atpj[name]</a> jamoasiga sotildi <a href='club.php?id=$atpj[zarplat]'>$atpj2[name]</a>. Kelishuv summasi <b>$".number_format($atpj[cena],0,'.',' ')."</b> ni tashkil etdi."; $etext = "Jamoa safini <a href='player.php?id=$atpj[id]'>$atpj[name]</a>, <a href='club.php?id=$atpj[team_id]'>$atpj1[name]</a> jamoasidan o`tgan o`yinchi to`ldirdi. Kelishuv summasi <b>$".number_format($atpj[cena],0,'.',' ')."</b> ni tashkil etdi.";} mysql_query("insert into fman_news set time=$realtime, pl_id=0, club_id=$atpj[team_id], text='$wtext'"); mysql_query("insert into fman_news set time=$realtime, pl_id=0, club_id=$atpj[team_id], text='$etext'");
shuni qanday qilib o'zgartirishim kerak
Ushbu kodni pages/mainmenu.php ga urnatadimi yoki birorta fayl ochib ichiga tashaladimi
1.
$fayllar= mysql_result( mysql_query("SELECT COUNT(*) FROM `download` WHERE `type` = 'file' "),0);
2.
$yuklash= mysql_result( mysql_query("SELECT SUM(`ip`) FROM `download` WHERE `ip` > '0' "),0);
3.
echo'
4.
<div class="phdr" style="text-align: center"><b>Ma\'lumot</b></div>
5.
<div class="menu" style="text-align: center">
6.
Barchasi '.$fayllar.' ta fayl,
7.
Hammasi bo\'lib: '.$yuklash.' martta yuklandi!
8.
</div>
9.
';
1.
$fayllar= mysql_result( mysql_query("SELECT COUNT(*) FROM `download` WHERE `type` = 'file' "),0);
2.
$yuklash= mysql_result( mysql_query("SELECT SUM(`ip`) FROM `download` WHERE `ip` > '0' "),0);
3.
echo'
4.
<div class="phdr" style="text-align: center"><b>Ma\'lumot</b></div>
5.
<div class="menu" style="text-align: center">
6.
Barchasi '.$fayllar.' ta fayl,
7.
Hammasi bo\'lib: '.$yuklash.' martta yuklandi!
8.
</div>
9.
';
Johnda video bosh sahifa chiqarish kere simba download ekan lekin qande chiqarish bilmayabman johnni endi organyabman
Viruzbek, Bosh sahifaning o'zida onlayn ko'rish kerakmi yoki havolasi bo'lsa yetadimi. John nechinchi versiya.
JAMES_RODRIGUEZ, Kodni bazaga yozishda emas chiqarishda
qiling bo'ldi.
echo $text;
qiling bo'ldi.
+ (1): ƒυтвσĻιѕт,
Rahmat aytdi (1): ƒυтвσĻιѕт,
Johncms 6.2 library rasmga pechat bosadigan kod kerak. Iloji bo'lsa tayyor.php men bilgan kod ishlamadi
Akbarali, # Akbarali (14.08.2018 / 07:22)
Viruzbek, Bosh sahifaning o'zida onlayn ko'rish kerakmi yoki havolasi bo'lsa yetadimi. John nechinchi versiya.Havolasi ni chiqardim endi screenshoot chiqmadi john 6.2
Viruzbek, Bosh sahifaning o'zida onlayn ko'rish kerakmi yoki havolasi bo'lsa yetadimi. John nechinchi versiya.Havolasi ni chiqardim endi screenshoot chiqmadi john 6.2
<?php $headmod = 'tournament23454'; $textl = 'Кубковые турниры'; require_once ("../incfiles/core.php"); require_once ("../incfiles/head.php"); $m = mysq_fetch_array($q); // Новички if ($id) { mysql_query("insert into `r_cupgame` set `rez1`=$m[sc1], `rez2`='$m[sc2]', `pen1`='$m[pen1]', `pen2`='$m[pen2]', `id_report`='$m[id]' where `id`='$id'"); exit; } require_once ("../incfiles/end.php"); ?>
Shuni qayerida xato bor?
JAMES_RODRIGUEZ,
Tekshirib ko'ringchi
<?php $headmod = 'tournament23454'; $textl = 'Кубковые турниры'; require_once ("../incfiles/core.php"); require_once ("../incfiles/head.php"); $m = mysq_fetch_array($q); // Новички if ($id) { mysql_query("insert into `r_cupgame` set `rez1`=$m[sc1], `rez2`='$m[sc2]', `pen1`='$m[pen1]', `pen2`='$m[pen2]', `id_report`='$m[id]' where `id`='$id'"); exit; } require_once ("../incfiles/end.php"); ?>
Tekshirib ko'ringchi
+ (1): ƒυтвσĻιѕт,
JAMES_RODRIGUEZ, Xatoyingiz mysq_fetch_array() emas mysql_fetch_array() bo`lishi kerak
<?php $headmod = 'tournament23454'; $textl = 'Кубковые турниры'; require_once ("../incfiles/core.php"); require_once ("../incfiles/head.php"); // Новички if ($id) { mysql_query("insert into `r_cupgame` set `rez1`='" . $m['sc1'] . "', `rez2`='" . $m['sc2'] . "', `pen1`='" . $m['pen1'] . "', `pen2`='" . $m['pen2'] . "', `id_report`='" . $m['id'] . "' where `id`='" . $id . "'"); exit; } require_once ("../incfiles/end.php"); ?>
+ (1): ƒυтвσĻιѕт,
uDesign, hozir redirect bo'lyapti ammo bazaga yozmayapti r_cupgamega
11 daqiqa 42 soniyadan keyin yozdi:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE `id` = '12'' at line 6
shunaqa xato beryapti
11 daqiqa 42 soniyadan keyin yozdi:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE `id` = '12'' at line 6
shunaqa xato beryapti
JAMES_RODRIGUEZ, redirect yozgan qatorizda bitta ' qolib ketgan menimcha
JAMES_RODRIGUEZ,
endi koringchi
endi koringchi
+ (1): ƒυтвσĻιѕт,
inco-media, xato u yerda emas mysql kodda
1 daqiqa 40 soniyadan keyin yozdi:
Bazaga yozmayapti xabar
1 daqiqa 40 soniyadan keyin yozdi:
Bazaga yozmayapti xabar
Downloaddagi 1ta papkadagi yuklamalarni tasodifiy chiqib turadigan qilish kerak. Misol tasodifiy hikoyalar chiqadiganday qilish kerak. Shunga yordam beringlar
Tavsiya etamiz:
- Hoziroq maydonlarni to'ldiring va reklamangizni joylashtiring!
Mavzuga oid xabarlar soni: 3101 ta
So'ngi faollik vaqti: 15:21:31, 19 Apr 2022