ALTER TABLE `dd_settings` ADD `announcements` TEXT CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL AFTER `enabledcode_on`
$announcements = $set['announcements'];
foreach($set1 as $set){
<?php if (!empty($announcements)) { echo ' <table width="700" align="center"> <tr> <td class="header">Announcements</td> </tr> <tr> <td class="content">'.$announcements.'</td> </tr></table><br>'; }; ?>
<?php if (!$headerspace == "") { echo '<div align="center">'.$headerspace.'</div><br>'; }; ?>
$sannouncements = clean($_POST['announcements']);
if(isset($_POST['submit'])){
announcements=\''.$announcements.'\',
domain=\''.$sdomain.'\',
</tr> <td class=\'content5\'>Announcements: </td> <td class=\'content5\'><textarea name=\'announcements\' rows=\'12\' cols=\'50\' >'.$announcements.'</textarea></td> </tr>
</tr> <td class=\'content5\'>Default Meta Description: </td> <td class=\'content5\'><input type=\'text\' name=\'metadescr\' size=\'40\' value=\''.$set['metadescr'].'\'></td> </tr>
announcements=\''.$announcements.'\', To:announcements=\''.$sannouncements.'\', ________________________________________<td class=\'content5\'><textarea name=\'announcements\' rows=\'12\' cols=\'50\' >'.$announcements.'</textarea></td>To:<td class=\'content5\'><textarea name=\'announcements\' rows=\'5\' cols=\'30\' >'.$set['announcements'].'</textarea></td>_____________________________________________And it's<tr><td></td></tr>
I think it needs a couple of small changes. .........announcements=\''.$sannouncements.'\', ......And it's<tr><td></td></tr>
<?php if (!$headerspace == "") { echo '<br><div align="center">'.$headerspace.'</div><br>'; };
and you don't have to use the $set array