All words of PHP variable from mysql database are not coming in Input field of HTML form

QuestionsAll words of PHP variable from mysql database are not coming in Input field of HTML form
sethbeckerman5 Staff asked 4 years ago

In my web application, I am trying to add a "Edit button" option to enable a user to change his information which he has already submitted. "Edit button" trigger a Modal with edit form which is pre-filled with values from Mysql database (provided by user at the time of registration).
But complete value of variables is not coming in input fields.
For example: Originally user filled his name as Asheesh Kumar which is saved in the database but edit form input field shows only first word of the name "Asheesh".
HTML code below:

What I am getting in Input field:
screenshot of output
its happening for all Input fields in Edit form.


View on Stack Overflow