[SOLVED] Getting my title to display.
Posted: Wed Aug 11, 2004 4:13 pm
This page wont display the "name". I cant figure out why.
Code: Select all
<?php
$db = mysql_connect("localhost","sevengfx","******");
mysql_select_db("sevengfx_com_-_hosted" , $db) or die("Couldn't open $db: ".mysql_error());
$query = "SELECT * FROM joe_preview ORDER BY id DESC";
$result=mysql_query($query);
while ($row = mysql_fetch_array($result)){
echo '<a href="deletep1.php?id=',$row['id'],'">';
echo $row['type'];
echo ' - ';
echo $row['name'];
echo '<br>';
echo '</a><br>';
}
?>