Phorum.ro
Your Avatar Welcome to Phorum.ro!
If you haven't registered yet, click here!
Attention Visitor:
You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
Du-te înapoi   Phorum.ro > Web Design & Web Development > Programare > PHP > Discutii Generale

Discutii Generale Discutii generale despre PHP.

Răspunde
 
Thread Tools Moduri de afișare
Vechi 05.05.2006   #1
DjMarZ
32-Bit Member
 
DjMarZ's Avatar
 
Data înregistrării: 24.02.2006
Vârsta: 25
Mesaje: 128
Rep Power: 7
DjMarZ is on a distinguished road
Exclamation Help!

ERORI IN BROWSER:
Citat:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/.../myconnect.php on line 34

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/.../template.php on line 33

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/.../send_alerts.php on line 4

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/.../send_alerts.php on line 17
SCRIPT: ...myconnect.php
Citat:
<...script neinteresant...>

33 mysql_query( "DELETE FROM boom_online WHERE UNIX_TIMESTAMP(NOW())-UNIX_TIMESTAMP(sb_ontime) >$to_secs") ;
34 $online= mysql_fetch_array(mysql_query("select * from boom_online where sb_ip='$ip'"));
35 if($online)
36 {
37 mysql_query("update boom_online set b_ontime=$t_stamp,sb_uid=$uid where sb_ip='$ip'");
38 }
39 else
40 {
41 mysql_query("insert into boom_online (sb_ontime,sb_ip,sb_uid) values($t_stamp,'$ip',$uid)");
42 }
Am cautat pe phorum, am gasit ceva, dar nu era ceea ce cautam eu sau cel putin n-am gasit nici un ajutor in problema mea.
Conectarea se face, dar... am erorile de mai sus. ANYONE?
[p.s. am cautat 1h de-am zapacit google-ul]
__________________
www.zetcms.com | www.bombarticles.com | www.jeunesse.ro
DjMarZ is offline   Reply With Quote
Sponsored Links
Vechi 05.05.2006   #2
Nautilus
64-Bit member
 
Data înregistrării: 01.09.2005
Locație: Constanta
Vârsta: 22
Mesaje: 492
Rep Power: 7
Nautilus is on a distinguished road
Trimite un mesaj prin Yahoo pentru Nautilus
Implicit

icnearca sa scrii cu litere mari alea cu SELECT FROM WHERE
si fa intai $ceretre = mysql_query (SELECT * FROM boom_online WHERE sb_ip='$ip');
mysql_fetch_array ( $cerere );

parca asa..
__________________
The Signature Bot has detected bad words.
Please contact the Administrator of this forum and report the problem.

SCUZATI DURITATEA CUVINTELOR
Nautilus is offline   Reply With Quote
Vechi 05.05.2006   #3
DjMarZ
32-Bit Member
 
DjMarZ's Avatar
 
Data înregistrării: 24.02.2006
Vârsta: 25
Mesaje: 128
Rep Power: 7
DjMarZ is on a distinguished road
Post finish

am gasit eroarea, sau in fine, BUG-ul... ms pt ajutor oricum
__________________
www.zetcms.com | www.bombarticles.com | www.jeunesse.ro
DjMarZ is offline   Reply With Quote
Răspunde


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Moduri de afișare

Reguli de postare
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Pornit
emoticoanele sunt Pornit
Codul [IMG] este Pornit
Codul HTML este Pornit



Ora este GMT +3. Ora este acum 01:17:09.


Rulează cu: vBulletin Version 3.8.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Forum SEO by Zoints

XXXXXXXXXXXXXXXXXXX
Inactive Reminders By Icora Web Design