I have following form for text input - saving it to my php variable - and I am displaying it on page. I need to create a record that would show on my page: "Last update was: dd-mm-yyyy" - aka: display the last time when my form was submitted. I guess I will need the date function - I just cannot figure out how to trigger creating the date based on form submission. I appreciate any help, thank you very much!
<form action=""a.php"" method="POST" name="uploadText">
<label for="textarea">text</label>
<input type="textarea" name="textUpload" id="homepageText">
<input type="submit" name="submitButton" id="submitButton" value="submit">
</form>
and a.php
$homepageText = $_POST["textUpload"];