Urgent help pls

Started on the old forum in July 2009 · view the original in the archive · old links redirect here

1 reply · 434 views · started 17 years ago · 1 min read

2 participants
youngbobby Developer · 55 posts #1

Guys, i need your help. i'm getting error in my site. Someone should try my test base at http://naijatop.freehostia.com/ here is the line 35 func function resetcou() { $tdt=date("Y-m-d"); $lrd=mysql_fetch_array(mysql_query("SELECT text FROM misc where dscr='CLR'"));

$lrd=strtotime($lrd[0]);

$nrd=mktime(0,0,0,date("m",$lrd)+1,date("d",$lrd),date("Y",$lrd)); $rdt=date("Y-m-d",$nrd); if($rdt==$tdt) { $res=mysql_query("UPDATE sites SET hin='0',hout='0', dhits='0';"); $res=mysql_query("UPDATE misc SET text='".$tdt."' WHERE dscr='CLR';"); } }

i'll be happy if i get fast replies on this.

Naijatop.net = Mobile Traffic Booster 👑

📖 YoungBobby.com = Bobby's BLoG 😁

You're Welcome !!

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close