181643/how-do-i-use-php-to-get-the-current-year
I want to put a copyright notice in the footer of a website, but I think it's incredibly tacky for the year to be outdated.
How would I make the year update automatically with PHP 4 or PHP 5?
Hello @kartik, Use the toSql() method on a QueryBuilder instance. DB::table('users')->toSql() would return: select * ...READ MORE
Hello @kartik, Try this: <?php echo "http://" . $_SERVER['SERVER_NAME'] ...READ MORE
Hello @kartik, If your PHP server allows url ...READ MORE
Hello @kartik, If you're using PDO, use PDO::lastInsertId. If you're ...READ MORE
Hello, Try this code: if (!function_exists('getallheaders')) { ...READ MORE
Hello, Here is a code sample of a good ...READ MORE
Can someone please share with me any ...READ MORE
Modified Magento's stock .htaccess to fit my ...READ MORE
Use strtotime() and date(): $originalDate = "2010-03-21"; $newDate ...READ MORE
Try doing the server side via encrypted ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.