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.
Printable View
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.
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.
You need to explain in some detail how the database is structured before someone can help you with a query.
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
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 :)
a sample php/mysql script to search and display users in my database provided with their information.
Look maty, do some learning then :)Quote:
Originally Posted by yatot
Nobody here is going to do your work for your around here :p
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 ;)
lol...yeah..i fully understand. thanks a lot dude. am working on it now.