R1der Posted August 31, 2006 Share Posted August 31, 2006 How can i show all the users who have signed up to my site on a web page?Thanks in advance. Quote Link to comment https://forums.phpfreaks.com/topic/19235-user-list/ Share on other sites More sharing options...
.josh Posted August 31, 2006 Share Posted August 31, 2006 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? Quote Link to comment https://forums.phpfreaks.com/topic/19235-user-list/#findComment-83304 Share on other sites More sharing options...
R1der Posted August 31, 2006 Author Share Posted August 31, 2006 Erm lol no i didnt make the script myself. Quote Link to comment https://forums.phpfreaks.com/topic/19235-user-list/#findComment-83305 Share on other sites More sharing options...
.josh Posted August 31, 2006 Share Posted August 31, 2006 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? Quote Link to comment https://forums.phpfreaks.com/topic/19235-user-list/#findComment-83307 Share on other sites More sharing options...
Orio Posted August 31, 2006 Share Posted August 31, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/19235-user-list/#findComment-83308 Share on other sites More sharing options...
R1der Posted August 31, 2006 Author Share Posted August 31, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/19235-user-list/#findComment-83310 Share on other sites More sharing options...
.josh Posted August 31, 2006 Share Posted August 31, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/19235-user-list/#findComment-83315 Share on other sites More sharing options...
extrovertive Posted August 31, 2006 Share Posted August 31, 2006 Buying a script to learn free open-source PHP? Hmmm... Quote Link to comment https://forums.phpfreaks.com/topic/19235-user-list/#findComment-83319 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.