[snip]
$sql = "SELECT UserFirstName FROM RegisteredMembers WHERE
UserID='$_POST[TXT_UserID]'";
[/snip]
please change
$sql = "SELECT UserFirstName FROM RegisteredMembers WHERE
UserID='$_POST[TXT_UserID]'";
to the proper syntax of
$sql = "SELECT UserFirstName FROM RegisteredMembers WHERE
UserID='" . $_POST['TXT_UserID'] . "' ";
[snip]
echo "<tr>";
echo "<td>a little about me:</td>";
echo "<td><input type = 'text' name = 'TXT_FurtherComments'
value='FurtherComments field should appear here'></td>";
echo "<td>20 characters max</td>";
echo "</tr>";
[/snip]
echo "<td><input type = 'text' name = 'TXT_FurtherComments'
value='FurtherComments field should appear here'></td>";
should be
echo "<td><input type = \"text\" name = \"TXT_FurtherComments\"
value=\" $UserFurtherComments\"></td>";
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php