PHP - Executin Something After A Period
I need to execute something after a specific sleep time
Like a random function which display a random image into html every 2 min; But i don't know how to do the 'every 2 min' part Similar TutorialsHow can I add a period at the end of the sentence with this.. Code: [Select] if($i > $max) break; if($i == $max || ($i == count($information) && $i > 1)) echo ' and '; else { if($i > 1) echo ', '; } if ($info[0] == 'credentials') { echo "credentials"; } if ($info[0] == 'specialties') { echo "specialties"; } if ($info[0] == 'stageofdevelopment') { echo "stage of development to {$info[1]}"; } $i++; How to write an IF condition for a specific time of day? e.g. between 18 and 18:30. To do something if the current time is between 18 and 18:30. Hello, While I am working on my code I faced this problem, which is Fatal error: Maximum execution time of 30 seconds exceeded in C:\wamp\www\factory1.php on line 100 Call Stack # Time Memory Function Location 1 0.0062 379160 {main}( ) ..\factory1.php:0 Any help to come over this problem. My database is quite large (600 MB). Thanks in advance. |