mr_badger Posted May 23, 2008 Share Posted May 23, 2008 is it possible to have media files in a mysql table like a flash file. What I want is to have an mp3 play on a different page and was thinking of creating an mp3 player in flash and then storing it in a mysql table and then calling it from there, can this be done or is there an easier way of doing what I want? thanks for any help. Quote Link to comment https://forums.phpfreaks.com/topic/106986-putting-media-files-in-mysql-table/ Share on other sites More sharing options...
rhodesa Posted May 23, 2008 Share Posted May 23, 2008 You can always have a BLOB field, and store any binary data in it. But, I've always found it easier to keep the media as a file, and just put the filename in the database. Quote Link to comment https://forums.phpfreaks.com/topic/106986-putting-media-files-in-mysql-table/#findComment-548377 Share on other sites More sharing options...
mr_badger Posted May 24, 2008 Author Share Posted May 24, 2008 Thanks for the reply, I was thinking that I could just put the filename in the database. I will try this out. Quote Link to comment https://forums.phpfreaks.com/topic/106986-putting-media-files-in-mysql-table/#findComment-548860 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.