<?php
$nextWeek = time() + (7 * 24 * 60 * 60);
// 7 days; 24 hours; 60 mins; 60secs
echo 'Now: '. date('Y-m-d') ."\n";
echo 'Next Week: '. date('Y-m-d', $nextWeek) ."\n";
// or using strtotime():
echo 'Next Week: '. date('Y-m-d', strtotime('+1 week')) ."\n";
?>
Fatal error: Uncaught exception 'Exception' with message 'Database error 1054 - Unknown column 'description' in 'field list'' in /home/chibifur/public_html/classes/class_database.php:161 Stack trace: #0 /home/chibifur/public_html/classes/class_database.php(54): Database->_query('adoptables', Array, 'insert') #1 /home/chibifur/public_html/admincp/adoptpost.php(92): Database->insert('adoptables', Array) #2 {main} thrown in /home/chibifur/public_html/classes/class_database.php on line 161
Riverspell wrote:She's using Webhost, the one recommended in the tutorial, but it's not recognizing the PHP. It either ignores it or, if you modify the code, turns it into HTML. The site says it supports PHP on free but we can't get it to work.
Anyone help?
Users browsing this forum: No registered users and 32 guests