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!
There's the problem then, $admin is an array not a string. This will cause you problems with the explode() function too. What were you expecting to be in $admin?
i have installed phpnuke and i making it now for a company so i wanne make the whois online that people can see how many administrators are online and what administrators are online ( nicknames ) so that is why i need to explode the $admin thingy to see what is the administrators nickname ,,,, but i am not that good with php so thats why i really need help ,,,
i dont know if you have thought of doing it this way but here goes
<--user3 logs in
<--a value is set in there myswl row (update record)or set a flag
<--user3 exits
<-- a value is changed back again (or changed back at set interval to ensure the person hasnt just exited without clicking logout
on the CMS
<-- run a query checking values in a database equivalent to the va;lue you decide to create when someone has logged in
<-- run mysql_affected_rows() to see how many people are logged in currently
i dont know whether this is the way forums do it, but this is the way i envision it to be
amm dude sounds cool but i don`t really know or anderstand what you are saying. could you maybe reword. i am not that good of a web developer and i don`t know so much about php scripting.