Is it possible to use a nested mysql_fetch_assoc Basically I used the first one to populate text boxes, now from another table I need to fetch and image. How do I go about doing this without closing the first one, because I have more text boxes below this image that need to be fetched.
while($row = mysql_fetch_assoc($result)){
?>
<form id="myform" name="myform" action="profiledo.php" method="post">
<p>First Name
<input type="text" name="firstname" id="textfield" value="<?php echo( htmlspecialchars( $row['FirstName'] ) ); ?>" />
<br />
in order to be able to fetch $result more times (I see no reason though), you’ll have to make single query for each fetch. I see no reason for doing so though