Display Query

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
nhan
Forum Commoner
Posts: 95
Joined: Sun Feb 27, 2005 8:26 pm
Contact:

Display Query

Post 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!
malcolmboston
DevNet Resident
Posts: 1826
Joined: Tue Nov 18, 2003 1:09 pm
Location: Middlesbrough, UK

Post by malcolmboston »

eg.

Code: Select all

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