Location: PHPKode > projects > Content*Builder > contentbuilder/system/setup/updates/update_060_060_1.php
<?php

$query = mysql_query("SELECT * FROM ".TABLE."_comments");
while($resultRow = mysql_fetch_object($query)) {
	$tmpQuery = mysql_query("INSERT INTO ".TABLE."_comment (type, entryID, author, title, text, datetime, homepage, email) VALUES ('article', '".$resultRow->ide."', '".$resultRow->cmauthor."', '".$resultRow->cmheadline."', '".$resultRow->cmtext."', '".$resultRow->cmdatum."', '".$resultRow->cmhomepage."', '".$resultRow->cmemail."')");
}
$tmpQuery = mysql_query("ALTER TABLE ".TABLE."_comment COMMENT = 'v0.2'");

?>
Return current item: Content*Builder