This tutorial is on how to import large SQL files when your sql dump file cannot be handled by PHPMyAdmin due to its large file size. Importing large SQL file sizes in PHPMyAdmin will produce an error if maximum file upload size has been reached and sometimes may cause the browser to freeze. You have [...]
09Aug
Posted by admin as PHP
This PHP snippet creates a HTML datepicker and automatically selects the current date in the select boxes.
<?php
$current_month = date("m");
$current_day = date("d");
$current_year = date("Y");
?>
<select name="month">
<option value="01" <?php if($current_month == "01"){ echo "selected"; }
?>>January</option>
<option value="02" <?php if($current_month == "02"){ echo "selected"; }
?>>February</option>
<option value="03" <?php if($current_month == "03"){ echo "selected"; }
?>>March</option>
<option value="04" <?php if($current_month == [...]
This quicktip will teach you on how display PHP errors on your website without altering your php.ini file and by just writing 2 lines of PHP code and including it in your config file or just including it into your page as an include file. Sometimes(or I say “always”) web hosting companies turn “display_errors” configuration [...]