<?php
echo '<table border="1" cellpadding="5" width="500">';
echo '<tr><td colspan="3" bgcolor="silver">TABLE: '.$db_prefix.'news</td></tr>';
$fields = mysql_list_fields($db_name,$db_prefix.'news');
for($i=0;$i<mysql_num_fields($fields);$i++) {
echo '<tr>';
echo '<td>'.mysql_field_name($fields,$i)."</td>";
echo '<td>'.mysql_field_len($fields,$i)."</td>";
echo '<td>'.mysql_field_type($fields,$i)."</td>";
echo '</tr>';
}
echo '</table><br>';
?>
Quote
Rayxen wrote:
Do you get the error when adding news or something else?
Category Forum
Bugs and Errors - 6Labels
None yet
Statistics
0 participants
Notifications
You are not receiving notifications from this thread.
Related Questions