Display HTML from MySQL

gesf

Active member
You need something like this:
Code:
<?php

$result = mysql_query("SELECT * FROM washington WHERE WaID = '1'"); 

while($row = mysql_fetch_array($result)){
echo $row[wa_header];
// if this is the field where´s the header content
}

?>
See more here: mysql_fetch_array()
 
Back
Top