Hi All.
I've sure its just me being special.
I have the following code
<?
$user=$_SESSION['user'];
printf ("user: %s",$user);
$number=$_GET['num'];
printf ("number: %s",$number);
?>
<form method=POST name="update" action="updated.php">
Username:
<input type=text name="<? echo $user;?>"><br>
Password:
<input type=password name="<? echo $number;?>">
<input type=submit value="Save">
</form>
This is supposed to put the value of user and number in the text boxes. so I can amend them and run and sql query to update the values.
I can print the user and number using
printf
but not echo in the text box.
Ideas?
Thanks
John