Ios Push notification script

<?php class PushNotifications { // (iOS) Private key’s passphrase. private static $passphrase = ‘1234’; // Change the above three vriables as per your app. public function __construct() { exit(‘Init function is not allowed’); } // Sends Push notification for iOS users public function iOS($data, $devicetoken) { $deviceToken = $devicetoken; $ctx...Read more …
Ajit N

Display or retrieve the HTML dropdown list of categories.

The ‘hierarchical’ argument, which is disabled by default, will override the depth argument, unless it is true. When the argument is false, it will display all of the categories. When it is enabled it will use the value in the ‘depth’ argument. [crayon-59052223c1e6d642005355-i/] For get html list of category by...Read more …
keithg

CONCAT Vs CONCAT_WS

MySQL supports two types of concatenation functions. They are CONCAT and CONCAT_WS CONCAT function just concats all the argument values as such SELECT CONCAT('Television','Mobile','Furniture'); The above code returns the following [crayon-59052223c22ce321760018/] If you want to concatenate them with a comma, either you need to specify the comma at the end...Read more …
Harrisonm

All Online Tools

Below a collection of free online tools that I have been using for a while. I’ve found them useful and I hope that other users and developers find them useful too. http://beautifytools.com/Read more …
Ajit N

GROUP_CONCAT() function

MySQL GROUP_CONCAT() function returns a string with concatenated non-NULL value from a group. Returns NULL when there are no non-NULL values. Syntax : [crayon-59052223c24b7750130882/] Output Example : [crayon-59052223c24bb904032818/]  Read more …