Title: retrieving audios dynamically
Last modified: January 5, 2017

---

# retrieving audios dynamically

 *  [sabitawp](https://wordpress.org/support/users/sabitawp/)
 * (@sabitawp)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/retrieving-audios-dynamically/)
 * Hi All,
    I am new to WordPress. This is my first site on WordPress. I have a 
   doubt on inserting and displaying Audio files. I have uploaded audio files using
   media and trying to use the audio file as per the corresponding name in database
   dynamically from the folder. Dont know how to do that. I am using Helloinfinity
   PHP Plugin to fetch Data from Database and display. For ex: if I am using like
   below: echo ‘<audio controls autoplay><source src=”[http://we-think.org/wp-content/uploads/2017/01/&#8217](http://we-think.org/wp-content/uploads/2017/01/&#8217);.
   $Code.’.mp3″ type=”audio/mp3″></audio>’; then its working fine. $code contains
   the exact audio filename. But how should I give the path(wp-content/uploads/2017/
   01/) Dynamically? as I may add audios in different dates and the folders will
   be different. How to solve this. please help.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [kjodle](https://wordpress.org/support/users/kjodle/)
 * (@kjodle)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/retrieving-audios-dynamically/#post-8636231)
 * Why don’t you use a podcasting plugin like Blubrry ([https://wordpress.org/plugins/powerpress/](https://wordpress.org/plugins/powerpress/))
   that doesn’t care where the mp3 is located and handles the displaying of the 
   file for you.
 * [https://wordpress.org/plugins/search.php?type=term&q=podcasting](https://wordpress.org/plugins/search.php?type=term&q=podcasting)
 *  Thread Starter [sabitawp](https://wordpress.org/support/users/sabitawp/)
 * (@sabitawp)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/retrieving-audios-dynamically/#post-8637379)
 * Oh..Thank you so much. Let me try the plugin.
 *  [kjodle](https://wordpress.org/support/users/kjodle/)
 * (@kjodle)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/retrieving-audios-dynamically/#post-8640395)
 * I hope/think you’ll like it. It simplifies so many of these things.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘retrieving audios dynamically’ is closed to new replies.

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)
 * [dynamically](https://wordpress.org/support/topic-tag/dynamically/)
 * [media](https://wordpress.org/support/topic-tag/media/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [kjodle](https://wordpress.org/support/users/kjodle/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/retrieving-audios-dynamically/#post-8640395)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
