Showing who is online.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
OnTheFly
Forum Newbie
Posts: 1
Joined: Wed Jan 27, 2010 1:35 pm

Showing who is online.

Post by OnTheFly »

I am starting a site that lists various phone operators.

These operators each have call buttons that change according to their availability. These availability buttons are provided by the various call centers they work for (currently there are 3 different centers with a possible 4th on the way). Some operators work for more than one of the call centers.

On my site I list all of the operators in a directory but, I want to also add a link on the site that will only show operators whose call buttons are showing them as being available. It doesn't matter if all of the operators from all of the various call centers are shown together on the same page or if each call center's available operators have to be shown on a page set up for that specific call center.

I know there's a way to do it because I've seen a site that does it but, I am very new to PHP. I know the very basics and this is simply beyond the scope of what I have learned so far.

Thanks in advance!
User avatar
AbraCadaver
DevNet Master
Posts: 2572
Joined: Mon Feb 24, 2003 10:12 am
Location: The Republic of Texas
Contact:

Re: Showing who is online.

Post by AbraCadaver »

That depends upon the logic that's already in place to change the availability on the call button.
mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.
Post Reply