<?php
$convert = dbquery("ALTER TABLE ".DB_ARTICLES." CHANGE article_datestamp article_datestamp DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00'");
echo "<div class='tbl-border tbl2' align='center'><b>";
if ($convert) {
echo "Column converted successfully.";
} else {
echo "Conversion failed.";
}
echo "</b></div>";
?>
<?php
$convert = dbquery("ALTER TABLE ".DB_ARTICLES." CHANGE article_datestamp article_datestamp INT(10) UNSIGNED NOT NULL DEFAULT '0'");
echo "<div class='tbl-border tbl2' align='center'><b>";
if ($convert) {
echo "Column converted successfully.";
} else {
echo "Conversion failed.";
}
echo "</b></div>";
?>
Category Forum
Content Administration - 8Labels
None yet
Statistics
3 participants
Notifications
You are not receiving notifications from this thread.
Related Questions