|
|
|
|
|
MySQL connection must be established before making queries. This code provides to make MySQL connection |
|
|
|
|
|
|
|
|
|
|
|
|
After copying this code and you have to save as "calnav.php" then you will run your calendar. If you use different name, you will have to change the links. |
|
|
|
|
|
|
|
|
|
|
|
|
This image gallery exampe shows all images in the selected folder. You can adjust your image gallery by changing variables in line 1-2 and 3. |
|
|
|
|
|
|
|
|
|
|
|
|
string date ( string format [, int timestamp]) Returns a string formatted according to the given format string using the given integer timestamp or the current local time if no timestamp is given. |
|
|
|
|
|
|
|
|
|
|
|
|
setcookie() defines a cookie to be sent along with the rest of the HTTP headers |
|
|
|
|
|
|
|
|
|
|
|
|
Returns an associative array containing the date information of the timestamp, or the current local time if no timestamp is given |
|
|
|
|
|
|
|
|
|
|
|
|
substr returns part of a string. |
|
|
|
|
|
|
|
|
|
|
|
|
strtolower makes a string lowercase |
|
|
|
|
|
|
|
|
|
|
|
|
strrpos, Find position of last occurrence of a char in a string |
|
|
|
|
|
|
|
|
|
|
|
|
strtoupper makes a string uppercase |
|
|
|
|
|
|
|
|
|
|
|
|
strlen gets string length |
|
|
|
|
|
|
|
|
|
|
|
|
he following example sorts the elements of the $numbers array in descending numerical order |
|
|
|
|
|
|
|
|
|
|
|
|
Returns an associative array containing the date information of the timestamp , or the current local time if no timestamp is given |
|
|
|
|
|
|
|
|
|
|
|
|
The following example sorts the elements of the $cars and $number array in ascending alphabetical order |
|
|
|
|
|
|
|
|