Jump to content

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. :)

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.