Forum Moderators: coopster
Question 2 Is what more do I need to add to my php script to display them if anything. BELOW IS MY PHP SCRIPT TO RETIREVE DATA.
______________________________________________________
<?php
$conn = mysql_connect("localhost","","");
mysql_select_db("models",$conn);
$person = $_POST['sex'];
$myage = $_POST['dob'];
$myheight = $_POST['size'];
$resultID = mysql_query("SELECT * FROM $person WHERE age in ($myage) and height in ($myheight) ",$conn);
print "<table border = 1><tr><th>id</th>";
print "<th>name_first</th><th>name_last</th>";
print "<th>age</th><th>height</th><th>weight</th>";
while ($row = mysql_fetch_row($resultID))
{
print "<tr>";
foreach ($row as $field)
{
print "<td>$field</td>";
}
print "</tr>";
}
print "</table>";
mysql_close($conn);
?>
______________________________________________________
Thanks for help everyone has allways been helpful.
Phil from Orlando Florida
To display the link as an active link you need a line like:
echo "<a href='http://".$yourresult."'>Some explanatory text or repeat the link text</a>";
Tim
[edited by: jatar_k at 5:03 pm (utc) on May 22, 2004]
[edit reason] no sigs thanks [/edit]