Old 06-17-2005   #1 (permalink)
Registered User
 
Join Date: Jun 2005
Posts: 7

Php Code

I need a php/mysql code to display all the members from a table(from the membership script) so display all members that registred, how do i do that?
Denial is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 06-17-2005   #2 (permalink)
code anyone?
 
scrowler's Avatar
 
Join Date: Feb 2004
Location: New Zealand
Posts: 590

Send a message via MSN to scrowler Send a message via Skype™ to scrowler
Code:
<?php

mysql_connect("localhost","username","password");
mysql_select_db("database_name");

$query = mysql_query("SELECT * FROM UsersTable");
while($row = mysql_fetch_assoc($query)){
echo $row["Username"] . "<br />\n";
}

?>
__________________
BioRUST Tutorials - the birthplace
scrowler is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP Tutorial Trio! Man1c M0g Announcements 3 07-09-2005 09:15 AM
PHP Help! Someone please help me LimitLess HTML / PHP / ASP / JS 12 05-16-2004 08:59 AM
Digital's Quick and Dirty Guide to PHP Order HTML / PHP / ASP / JS 15 05-05-2004 01:18 AM
Scroll bar code Stiker HTML / PHP / ASP / JS 9 04-19-2004 01:44 PM
PHP Help Needed... Young Spartan HTML / PHP / ASP / JS 1 12-02-2003 09:37 AM


All times are GMT +1. The time now is 05:56 PM.
Content Relevant URLs by vBSEO 3.2.0

Design & Content © BioRUST 2008 :: PRIVACY STATEMENT :: LEGAL INFORMATION :: ADVERTISING MEDIA KIT