Increment and Decrement Operators are common in many Languages, Increment Operator is represented by ++ Decrement Operator is represented by — Pre-increment or Pre-decrement: if…
Leave a CommentCategory: PHP / MySQL
We can easily extract image information from the Image URL using PHP’s predefined function called getimagesize() I Use this function whenever I need to know…
Leave a CommentIn this programming tutorial, you will learn how to use the PHP array function array_change_key_case to manipulate array keys in your arrays. array_change_key_case() function is…
Leave a CommentThe password hashing API provides an easy to use wrapper around crypt() to make it easy to create and manage passwords in a secure manner.This…
Leave a CommentWe can improve Codeigniter application speed with simple tactics. I will show very simple steps, which will improve your CI app speed. Enable Gzip Compression…
5 CommentsThis post explains, how to prevent the duplicate occurrence in the table and how to deal with already existed duplicate records. we can private duplicate…
Leave a CommentSETP1: Download Latest version of Yii Framewrok from official website (http://www.yiiframework.com/). SETP2: Extract The Giz. SETP3 : OPEN command prompt, type cd / hit enter…
1 CommentWe often need last inserted ID for different reasons(for example when you need to store foreign key), Immediately after a record has been inserted into…
2 CommentsBelow Script is using PHP’s mail function to send emails.
Leave a CommentCodeIgniter is one of the PHP MVC Framework with minimum learning curve best documentation and easy workflow, in CodeIgniter we can easily Enable or Disable…
3 CommentsWe can Set, Get and Delete Cookies with CodeIgniter Cookie Helper, Cookie Helper contains functions that assist in working with cookies. Before using Cookie Helper…
9 CommentsWith the help of the CodeIgniter Built-in function redirect(), we can refresh or redirect the page based on the given parameters. CI’s redirect() resides in…
13 Comments$str = “9703132428,123456789,1”; // convert string to array $numbers = explode(‘,’, $str); // remove empty items from array $numbers = array_filter($numbers); // trim all the…
Leave a CommentIn PHP, the explode() function splits a string into an array based on a specified delimiter. By default, it breaks the string at each occurrence…
2 Comments