0
What's server now and how to collect data from user and store it?
1 Odpowiedź
0
to collect data from user formally use form element and use method GET OR POST to store the data and fname or image as name for form
<form action="file.php"method="get">
First name: <inputtype="text" name="fname"><br>
Last name: <inputtype="text" name="lname"><br>
<input type="submit"value="Submit">
</form>
to store it using PHP request variable $_GET["fname"]
$firstname = $_GET["fname"]