Such a question: there is a test database, in it is a lpcms table, inside which there are cells id, title and content. There is also a form of such a plan:

<form> <input type="text" name="title" value="Значение title у id=1"/> <input type="text" name="content" value="Значение content у id=1"/> <input type="submit" name="submit" value="Сохранить"> </form> 

How to make so that inside the forms, and specifically in value, when entering the admin panel, the values ​​extracted from the database were entered, and when they were changed and the "Save" button was pressed, the new values ​​were overwritten. In the table, only one row will be from id, which is 1. There will be no other IDs.

    1 answer 1

    Put in the value variables that return the necessary content from the database.