How do I call this function in CodeIgniter controller?
- by Jason Shultz
I've got this code, but I'm not sure I make it work:
/**
* Function: youtube data grabber
*
* @description :
* @param $ : video code, url type (embed/url)
* @return : data array
* @author : Mamun.
* @last -modified-by: Mamun.
*/
if (! function_exists('youtube_data_grabber'))
{
function…