creating a simple news feed just like facebook is not the problem but instead of posting text i want users to post videos and audios also so other users can watch the videos and play the audio files

Hi

You have to store the image in folder, just save the file name only in database. like wise retrive the folderpath and database stored(filename)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.