Page 1 of 1

Display Query

Posted: Thu Apr 21, 2005 6:29 am
by nhan
Anyone can help me display my query database like the appearance of this forum,i like the colors and the way the interface looks like, also to display the title of the field names...

thanks!

Posted: Thu Apr 21, 2005 6:38 am
by malcolmboston
eg.

Code: Select all

<?php
highlight_string('
<?php
$query = "SELECT something FROM somewhere";
$result = mysql_query($query) or die (mysql_error());
?>
');
?>