Jump to content

Show Uploaded Content From Users


cln

Recommended Posts

I'm very new to php, so please be gentle smile.gif

 

I have users who log in, and now I want to show all of the users on a particular page. Each user shown would then be clicked on and up would pop all of their content that they have uploaded to a table in my database.

 

The table in question is named 'Story', and the two fields I want echoed are 'title' and 'story'.

 

Any help would be much appreciated. Hope my explanation makes sense.

 

Thanks! smile.gif

Link to comment
https://forums.phpfreaks.com/topic/269568-show-uploaded-content-from-users/
Share on other sites

Just create a page which pulls all of your members from a table in the database, using a while loop.

 

Then just have each member's name a dynamically generated link to a content page where you can see everything they've uploaded with another MySQL query from the database.

 

It should be very easy to do, pulling information from a database is basic stuff. Use Google. :)

Archived

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

×
×
  • Create New...

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.