Function Example OR Syntax array_change_key_case array_chunk array_combine array_count_values array_diff array_diff_key array_diff_assoc array_diff_uassoc array_diff_ukey array_fill array_filter array_flip array_intersect array_intersect_assoc array_intersect_key array_intersect_uassoc array_keys array_key_exists array_map array_merge array_multisort array_pop array_push array_rand array_replace array_reverse array_search array_shift array_slice array_splice array_sum array_unique array_unshift array_values current, next, prev, end end sort in_array
This article will give information about php “encryption” and “decryption”. When we send information from one page to another page via “URL”, Anyone can see what we are sending in url. To avoid that, We will send encrypted message or information. On destination page we will decrypt this text. So it will secure and anyone […]
Filter The Special Characters Validate Integer: FILTER_VALIDATE_INT Validate Integer With Range: FILTER_VALIDATE_INT Validate Email: FILTER_VALIDATE_EMAIL Validate Email With _GET Method: FILTER_VALIDATE_EMAIL Validate Integer With _POST Method: FILTER_VALIDATE_INT Filter The Special Characters <?php $String=”asdf-32^3###3sa435r”; $String=preg_replace(‘/[^a-zA-Z0-9_ -]/s’, ”, $String); echo $String; /** output **/ asdf-3233sa435r ?> Validate Integer: FILTER_VALIDATE_INT <?php $int = “123”; if(!filter_var($int, FILTER_VALIDATE_INT)) { […]
What is Variable? Rules For Variable Variable Types Constant Predefined Variables What is Variable? PHP6 introduce 64bit integer A variable is a representation of particular value. Simplay we can call this “containers” for storing information. By assinging a value to variable, you can reference the variable in other places in your script and we can […]
Syntax:mixed count_chars ( string $string [, int $mode = 0 ] ) Description:count_chars — Return information about characters used in a string.Counts the number of occurrences of every byte-value (0..255) in string and returns it in various ways. Return Values: 0 – an array with the byte-value as key and the frequency of every byte as value. 1 […]
Syntax:void echo ( string $arg1 [, string $… ] ) Description:echo — Output one or more strings Return Values No value is returned. Example 1 <?php echo “Hello World”; echo “<br/>Hello<br/> World”; ?> OUTPUT Hello World Hello World
Syntax: bool sort ( array &$array [, int $sort_flags = SORT_REGULAR ] ) Description: Sort an array <?php $fruits = array(“lemon”, “orange”, “banana”, “apple”); sort($fruits); print_r($fruits); ?> OUTPUT Array ( [0] => apple [1] => banana [2] => lemon [3] => orange )
What is Variable? Rules For Variable Variable Types Constant Predefined Variables What is Variable? PHP6 introduce 64bit integer A variable is a representation of particular value. Simplay we can call this “containers” for storing information. By assinging a value to variable, you can reference the variable in other places in your script and we can change […]
This tutorial will help you to get the knowledge of ASCII value Dec Hex Oct Char Description 0 0 000 null 1 1 001 start of heading 2 2 002 start of text 3 3 003 end of text 4 4 004 end of transmission 5 5 005 enquiry 6 6 006 acknowledge 7 7 […]
Best Premium WordPress Directory Classifieds Themes are listed below. Try your best one. 1. FlatAds – Classified AdsWordPress Theme The FlatAds is a Premium Directory/Listing WordPress theme, super flexible and has a fully responsive design (try resizing your browser). Built with HTML5 and CSS3 . A lot of thought and care were put into FlatAds making […]