lol pamod, the code you gave will update plusses yeah, but it will update anyones plusses if the clock hits (what ever time) you put... someone could have like 50000 plusses and they would get more if there online on the index.php at the time you put
Automaticaly Update Sql Db!
Collapse
X
-
Guest
yes that would be big problem, but is there any alternative solution?to get points for 5 chat lines you must select and count the last 5 lines by user and by chatroom name.
like
SELECT COUNT(chatter) from ibwf_chat where chatter = 3 // each user have one id
if this result is equal with 5{
make the update
}
there is a problem. if the automatic refresh run two time, and user count is 5 , the update in database is double...[/b]
like i was thinking to do it from the chat points(posts) in profile. whenever 5 chat points increases in their
profile, then add 1 plus to the user. exactly im not getting how to code it. can u help me please!
Comment
-
Guest -
yes.
first , see this movie http://www.2serveu.net/cpanel-tutori...ndardcron.html or see this tutorial http://www.webmasterstop.com/102.html
second, you have cpanel?
Comment
-
Guest
anything will do bro, all i want to do is update a user 1 plus for every 5chat posts. no problem if we put it in index.php or chat.php blackhowk
Comment
Comment