Jump to content

Listing from MySql


justcraig

Recommended Posts

Hmm. This is a bit vague, but I imagine a query looking like this:

 

SELECT * FROM users WHERE online = 1 ORDER BY country THEN state

 

This would of course require that the database is updated every time a user is on or timed out/off. I don't know if your application works like this.

 

Good luck on your project.

 

Link to comment
https://forums.phpfreaks.com/topic/37556-listing-from-mysql/#findComment-179659
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.