Jump to content

Archived

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

R1der

user list

Recommended Posts

How can i show all the users who have signed up to my site on a web page?

Thanks in advance.

Share this post


Link to post
Share on other sites
connect to the database, and do a query to select all the users from the db.  if you made your script that registers the people, then you should be able to figure out how to do this easy enough...did you make the script yourself?

Share this post


Link to post
Share on other sites
well the first thing you are going to have to do is figure out if your current script stores the data in a database or in a flatfile.  Then you are going to have to find out some basic information.  For instance, if your data is being stored in a database, you are going to have to look through your current code and find the database username/pw, database name, the table name and the column names.  I have no idea how proficient you are with php or anything, so give me some info on what you DO know, and we'll go from there.

p.s.- is this some 3rd party script that you downloaded somewheres? did you try looking for support on their forum or look in the documentation?

Share this post


Link to post
Share on other sites
If it's in mysql tables-

[code]<?php
//make sure you are connected to the db
$result=mysql_query("SELECT * FROM `user_table_name_goes_here`");
while($row=mysql_fetch_array($result)){
echo $row['user_column_name_goes_here']."<br>";
}
?>[/code]

Orio.

Share this post


Link to post
Share on other sites
i am still kinda new to php but i am learning.

my data is stored in a database.


i brought this script cheap. in hope to learn php better.

Share this post


Link to post
Share on other sites
so you [i]bought[/i] a script that registers people, and yet there is no function to display them? are you sure you're just not looking in the right place, as far as the features? i suggest you contact whoever you bought this script from.

i think this probably needs to be in the 3rd party scripts forum, so i'm moving it there.

Share this post


Link to post
Share on other sites

×

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.