<form action="Delegate_update.php" method="post">
Name
<input type="text" name= "Name" value= "<?php echo $row['Name']; ?> "size=10>
Username
<input type="text" name= "Username" value= "<?php echo $row['Username']; ?> "size=10>
Password
<input type="text" name= "Password" value= "<?php echo $row['Password']; ?>" size=17>
<input type="submit" name= "submit" value="Update">
</form>
, . " pdo mysqli- mysql", . , php- , , . - , , , , - , .
, $row . , (. ). PHP , .
HTML.
<html>
<head>
<title> Delegate edit form</title>
</head>
<body>
<p>Delegate update form</p>
<?php
$usernm="root";
$passwd="";
$host="localhost";
$database="swift";
mysql_connect($host,$usernm,$passwd);
mysql_select_db($database);
$sql = "SELECT * FROM usermaster WHERE User_name='".$Username."'";
$result = mysql_query($sql) or die (mysql_error());
while ($row = mysql_fetch_array($result)){
$Name=$row['Name'];
$Username=$row['User_name'];
$Password=$row['User_password'];
}
?>
. " " , , , (, , /, )
,