Forum Articles
  Welcome back Join CF
You are here You are here: Home | Forum | Your Favorite Youtube Channels

You are currently viewing our boards as a guest which gives you limited access to view most of the discussions, articles and other free features. By joining our Virgin Media community you will have full access to all discussions, be able to view and post threads, communicate privately with other members (PM), respond to polls, upload your own images/photos, and access many other special features. Registration is fast, simple and absolutely free so please join our community today.


Welcome to Cable Forum
Go Back   Cable Forum > Computers & IT > Internet Discussion
Register FAQ Community Calendar

MySQL Help?
Reply
 
Thread Tools
Old 13-09-2009, 03:28   #1
Keyz333
cf.addict
 
Join Date: Oct 2007
Location: Fleet, Hampshire
Age: 35
Services: Cuckoo (BT) Broadband
Posts: 265
Keyz333 has a spectacular aura about themKeyz333 has a spectacular aura about themKeyz333 has a spectacular aura about themKeyz333 has a spectacular aura about them
Send a message via AIM to Keyz333 Send a message via MSN to Keyz333
Question MySQL Help?

Ok, I have recently set up a type of online messenger, and I would like to have a members list on one of my HTML pages.. I just need a line of code which will list the names in a certain part of the MySQL DB.

EG The table is called Users and inside I just need the 'username' to be shown, in a list, of all the members.

Thanks alot in advance.
Keyz333 is offline   Reply With Quote
Advertisement
Old 13-09-2009, 09:14   #2
Jon T
cf.mega poster
 
Join Date: Jun 2003
Location: Mansfield, Notts
Age: 46
Services: Virgin Media Telephone and 100Mb broadband, Sky Q
Posts: 1,994
Jon T has reached the bronze age
Jon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze age
Re: MySQL Help?

Try this: http://www.astahost.com/info.php/Dis...st_t19036.html
Jon T is offline   Reply With Quote
Old 13-09-2009, 10:32   #3
punky
Inactive
 
Join Date: Jun 2003
Age: 44
Posts: 14,750
punky has a golden aurapunky has a golden aura
punky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aura
Re: MySQL Help?

Quote:
Originally Posted by Keyz333 View Post
Ok, I have recently set up a type of online messenger, and I would like to have a members list on one of my HTML pages.. I just need a line of code which will list the names in a certain part of the MySQL DB.

EG The table is called Users and inside I just need the 'username' to be shown, in a list, of all the members.

Thanks alot in advance.

Code:
SELECT username FROM Users;
will do the job. If you want to sort then:

Code:
SELECT username FROM Users ORDER BY username ASC
punky is offline   Reply With Quote
Old 13-09-2009, 13:12   #4
Keyz333
cf.addict
 
Join Date: Oct 2007
Location: Fleet, Hampshire
Age: 35
Services: Cuckoo (BT) Broadband
Posts: 265
Keyz333 has a spectacular aura about themKeyz333 has a spectacular aura about themKeyz333 has a spectacular aura about themKeyz333 has a spectacular aura about them
Send a message via AIM to Keyz333 Send a message via MSN to Keyz333
Re: MySQL Help?

Thank you!
Keyz333 is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:06.


Server: osmium.zmnt.uk
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum