techker Posted November 7, 2011 Share Posted November 7, 2011 Hey guys what should i look for in a script to make a small script that gets the DB information and shows notifications? like messages(3) members(23) ..... i know count rows can do it.i think? Link to comment https://forums.phpfreaks.com/topic/250651-notification-script/ Share on other sites More sharing options...
Maq Posted November 7, 2011 Share Posted November 7, 2011 Moving to PHP Help even though I really don't know what you're asking. Could you elaborate? Link to comment https://forums.phpfreaks.com/topic/250651-notification-script/#findComment-1286023 Share on other sites More sharing options...
techker Posted November 7, 2011 Author Share Posted November 7, 2011 i just want a script that could look in to my DB every 20min and count the rows of in a table then display it .. like in facebook on top were there is messages Link to comment https://forums.phpfreaks.com/topic/250651-notification-script/#findComment-1286024 Share on other sites More sharing options...
Maq Posted November 9, 2011 Share Posted November 9, 2011 i just want a script that could look in to my DB every 20min and count the rows of in a table then display it .. like in facebook on top were there is messages What part are you stuck on? For intervals of 20 minutes you would create a cron job that calls your script which simply does a count of messages in the DB. Link to comment https://forums.phpfreaks.com/topic/250651-notification-script/#findComment-1286748 Share on other sites More sharing options...
techker Posted November 9, 2011 Author Share Posted November 9, 2011 i got it the script going but it's only the check time and i need to put some css..lol to make like a small red square with the number in it.. cron is a good idea.thx Link to comment https://forums.phpfreaks.com/topic/250651-notification-script/#findComment-1286821 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.