Quote:
Originally Posted by Napon
https://www.bvlist.com/showthread.php?t=11013&page=2
Bump:
You said it posting something thats no good and also alot of sql mising too
like
sql
Code:
$rec = @mysql_fetch_array(@mysql_query("SELECT * FROM onlinerec LIMIT 1"));
if ($rec[users] < $totalonline) mysql_query("UPDATE onlinerec SET users=$totalonline, date='".get_date_time()."' WHERE users=$rec[users]");
also more sql mising to so why post somthing thats no good to noone just a side note for you as you can see members are wanting it and no help from your self
Code:
CREATE TABLE `onlinerec` (
`users` int(11) NOT NULL,
`date` datetime NOT NULL,
PRIMARY KEY (`users`),
KEY `date` (`date`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- Salvarea datelor din tabel `onlinerec`
--
INSERT INTO `onlinerec` (`users`, `date`) VALUES
(57, '2019-01-17 17:52:55');
|
If it's not good then don't use it. Seems like you're kinda frustrated. Just chill man and create you're own one and post it if you don't like. What's the problem?