Thanks - CH
echo ("<form method='post' action='{$_SERVER['PHP_SELF']}' encType='multipart/form-data'>");
echo ("<table border='0' cellpadding='5' width='500' cellspacing='0' id='result_table'>
<tr bgcolor='#DBE6D1'>
<td width='100'><b>Name:<b></td>
<td>$row[name]</td>");
echo ("</tr>");
echo ("<tr>");
if ($row["photo_name"] != '') {
echo ("<td><img src='images/clients/$row[photo_name]' width='50' align='right' id='photo_login'> </td>");
} else {
$photo_name = ' ';
}
echo("<tr bgcolor='#ECF8DF'>
<td><b>Bio:</b></td>
<td colspan='2'><textarea rows='4'name='bio' cols='45'>$row[bio]</textarea></td>
</tr>
<tr bgcolor='#DBE6D1'>
<td><b>Goals:</b></td>
<td colspan='2'><textarea rows='4' name='goals' cols='45'>$row[goals]</textarea></td>
</tr>
<tr bgcolor='#ECF8DF'>
<td><b>Favorite Race:</b></td>
<td colspan='2'><textarea rows='4' name='fav_race' cols='45'>$row[fav_race]</textarea></td>
</tr>
<tr bgcolor='#DBE6D1'>
<td><b>Favorite Place to Train:</b></td>
<td colspan='2'><textarea rows='4' name='fav_train' cols='45'>$row[fav_train]</textarea></td>
</tr>
<tr bgcolor='#ECF8DF'>
<td ><b>Upload Photo:</b></td>
<td colspan='2'><input type='file' name='photo'>
</tr>
<tr bgcolor='#DBE6D1'>
<td colspan='3'>
<INPUT type='hidden' name='MAX_FILE_SIZE' value='10000000'>
<input type='hidden' name='oldimage' value='".$row["photo_name"]."'>
<input type='hidden' name='user_id' value='$row[0]'>
<input type='hidden' name='postback_bio' value='true'>
<input type='submit' value='Submit' id='submit_buttom'></td>
</tr>
</table>
</form>");
__________________________________
Craig Hoffman - eClimb Media
v: (847) 644 - 8914 f: (847) 866 - 1946 e: choffman@xxxxxxxxxxxxxxx w: www.eclimbmedia.com _________________________________ On Apr 30, 2004, at 8:47 AM, Chris Boget wrote:
Thanks Hans. I tried what your suggested and still no luck.
What does the actual HTML form look like?
Chris
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php