My Question is. How can i create an button to edit my profile ? After I click a Save button or something like that it should overwrite the information in the DB.
Thats my HTML Code:
<div>
<section class='container_profile'>
<h1>Profil</h1>
<h2>Username:</h2> <p><?php echo $username; ?></p>
<h2>Password:</h2> <p>*******</p>
<h2>Lohn 1.Lehrjahr:</h2> <p><?php echo $salary_first_year; ?></p>
<h2>Lohn 2.Lehrjahr:</h2> <p><?php echo $salary_second_year; ?></p>
<h2>Lohn 3.Lehrjahr:</h2> <p><?php echo $salary_third_year; ?></p>
<h2>Lohn 4.Lehrjahr:</h2> <p><?php echo $salary_fourth_year; ?></p>
<button class="btn_edit" onclick="">EDIT</button>
</div>
It should appear textboxes when I click on the button.