In input type text i am getting just one string. for ex if in database name field have "abc xyz". So its only showing abc not full name this happen for all the fields. Please check my code also.
while($row = mysqli_fetch_array($result))
{
//print_r($row['name']);
echo "<tr>";
echo "<td> ". $row['id'] . "</td>";
echo "<td> <input type=text placeholder = name onchange= nameValidation(this) value = ".$row["name"]." disabled> </td>";
echo "<td> <input type='email' placeholder = 'email' value = ". $row['email'] ." onchange= nameValidation(this) disabled> </td>";
echo '<td> <input type="button" value="edit" onclick="edit(this)">
<input type="button" value="update" onclick="update(this)" style="display:none;">
<input type="button" value="Delete" onclick="delete1(this)" style="display:none;">
</td>';
echo "</tr>";
}
echo "</table>";