Tutorials

Category

21 posts found

10 Mar 2014
0.19K
No Comments

1.Remove duplicate values from array – ARRAY_UNIQUE Result 2.Re-order with random values from array-SHUFFLE Result 3.Remove null values from array-ARRAY_FILTER Result 4.Ascending order array values-SORT Result 5.Descending order array values-ARSORT Result 6.Ascending order array keys Result 7.Descending order array keys Result 8.Replace text string from array with STR_REPLACE Result 8.Change

Post in

21 Feb 2014
0.2K
No Comments
PHP Select optgroup from array

I have a array that contains continent and with countries. Now we need to reorder this array. array has been reorder with continent now set select with option group

Post in

5 Jan 2014
0.27K
No Comments

make $wpdb global variable

Post in

15 Dec 2013
0.11K
No Comments

Many times we need to store #array in #database with because may we don’t want to create all specified fields with names in #database table, so we just inserted, and here is example that I want to save whole #array data in database table field mysql. mysql cannot allow you

Post in

15 Dec 2013
0.23K
No Comments

I was also faced that problem  the unchecked checkboxes cannot submit the data when submit form,  so I decided to a write a jquery, here is my html When I using print_r($_POST) ; its just return and here is #jQuery code to show both unchecked and checked checkboxes now I

Post in

29 Nov 2013
0.12K
No Comments

this function allow you to generate random characters code,function suitable for Generate activation code for newly user account Generate shortenURL code, Generate temporary user password for changing password of account. The 10 is characters limits its generate password with 10 characters and true allow to add special characters these define

Post in

16 Nov 2013
1.14K
No Comments
Php convert hash into hashtags from content

Mostly the largest social networks like #facebook , #twitter , #soundcloud and other application are using #hashtag functionality to sort their data and live-feed or content. So I have wrote this  tutorial to convert # from content and convert into a #hashtag 1. Define function named sdtutshashtag with a single parameter $post_content In $post_content

Post in

14 Nov 2013
0.54K
No Comments

In my office where i do job, i am working on various organization’s projects  developed in wordpress and using many of plugins to complete projects sometimes i am think that i will wrote a article about plugins to users can use them on their wordpress site, to save their times

Post in

14 Nov 2013
0.19K
No Comments

Get last day of month with php date. Get Frist day of month

Post in

8 Oct 2013
0.45K
No Comments

The wordpress user’s password hashing is very strong you cannot manually match the entered password with stored in db password because every single time wordpress generate password with random characters, so here is a function to match the wordpress user login password for login functionality or change password functionality in your

Post in