This post is a simple example for showing images in CGridView in Yii.Imagine that you have an image field in your table ie either a location field or a blob type field used to store the images.
1 CommentMonth: September 2014
Yesterday someone asked me to make a tutorial about Connecting to Database in CodeIgniter Framework. In order to make connection to database in Ci ,…
13 CommentsYou can’t delete non-empty directories with one of PHPs own functions so in order to delete Directories Recursively just fallow the below shown logic,shown PHP function scans a given directory and deletes all files and sub directories it finds.
Leave a CommentGetting the thumbnail image for a dailymotion video is very easy. Just use the following link, replacing the with the id of the video.
1 CommentGetting the thumbnail image for a Vimeo video is very easy. Just use the following link, replacing the with the id of the video.
1 CommentGetting the thumbnail image for a YouTube video is very easy. Just use the following link, replacing the
You can delete files from the server with PHP’s file system function unlink() which will delete/remove the files. Using unlink you can removes all types…
Leave a Comment