You have not enclosed the text in quotation marks in the resulting HTML, try the following:
echo "Title: <input type=\"text\" name=\"title\" value=\"".$row['Title']."\"></input><br>";
or better yet
echo 'Title: <input type="text" name="title" value="'.$row['Title'].'"></input><br>';
which avoids double quotes.
source
share