-
January 25th, 2007, 10:22 AM
#1
code to display users
hi there...
can anyone pls help me with my little query?
am building up database and am having trouble how to display the registered users in a particular page..
can anyone suggest a sample script?
that would be fo great help...thanks a lot.
-
January 25th, 2007, 10:59 PM
#2
I think we need a LOT more information...
What is the backend (database(SQL, MySQL, Access, ...))?
What lanquage (ASP, PHP, VB...)?
What is the DB structure?
There are more questions but this should be a good start.
Work... Some days it's just not worth chewing through the restraints...
-
January 26th, 2007, 07:13 PM
#3
You need to explain in some detail how the database is structured before someone can help you with a query.
[HvC]Terr: L33T Technical Proficiency
-
January 30th, 2007, 08:11 AM
#4
oh yes...sorry bout that...
i just need a sample script that works on php and mysql...
there would be unlimited user registration and will display their info on a mainpage provided by their input information.
am building a registry website wherein certified workers can register...
i hope this not much of an info..lol
-
February 8th, 2007, 05:53 PM
#5
Senior Member
The sample in PHP would be
//Select user names from the table Users
$users = mysql_query("SELECT User_Name from Users;");
//while there are user name provided by the database
while ($user_array = mysql_fetch_array($users)) {
//assign each of them in turn to user_name variable
$user_name = $user_aaray["User_Name"];
//and print that variable on the page
echo $user_name;
If you still needed that sample
Don\'t post if you\'ve got nothing constructive to say. Flooding is annoying
-
February 9th, 2007, 03:26 AM
#6
a sample php/mysql script to search and display users in my database provided with their information.
-
February 9th, 2007, 08:28 AM
#7
Senior Member
Originally Posted by yatot
a sample php/mysql script to search and display users in my database provided with their information.
Look maty, do some learning then
Nobody here is going to do your work for your around here
The script I gave you does exactly that, only you need to expand it a bit to include all the data you need. If you just can't believe that this is that simple, well I guess it's just that simple
Don\'t post if you\'ve got nothing constructive to say. Flooding is annoying
-
February 16th, 2007, 09:34 AM
#8
lol...yeah..i fully understand. thanks a lot dude. am working on it now.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|