hi..
very silly of me to forget to do the mysql query.. thanks for that..
unfortunatly it is still not working...
i am totally baffled as to what im doing wrong... going crazy! 🙂
what i hav now is :-
$query = "SELECT forename, surname, addL1, addL2, postalCode, county FROM student where id =" . $_POST['id'];
$result = mysql_query($query) or die(mysql_error());
while($row = mysql_fetch_array($result))
{
echo "\n<tr>\n<tg bgcolor=\"silver\">" .
"<b><font color=\"black\">" .
"<b>Forename:</b>" . " " . $row["forename"] . " " . "<br>" .
"<b>Surname:</b>" . $row["surname"] . " " . "<br>" .
"<b>Address Line1:</b>" . $row["addL1"] . " " . "<br>" .
"<b>Address Line2:</b>" . $row["addL2"] . " " . "<br>" .
"<b>Postal Code:</b>" . $row["postalCode"] . " " . "<br>" .
"<b>County:</b>" . $row["county"] . " " .
"<font></b></td>\n<tr>";
echo "\n<tr>\n\t<td></td>\n</tr>";
}
any ideas at all???!!
thanks,
susi