Computer Science, asked by vikasroy4354, 10 months ago

Identify the php function used to get the username value submitted by a user and also add values submitted to query

Answers

Answered by stefangonzalez246
0

PHP GET and POST methods

   GET method is used to pass the key value to the url.

syntax:

<?php

$_POST['variable_name'];

?>

"$_post[...]" is the php array

"variable_name" is the URL Variable name.

    Post method is used to transfer the information in a hidden manner.

syntax:

<?php

$_GET['variable_name'];

?>

"$_GET[...]" is the PHP array

"Variable_name" is the URL Variable name.

Given below example to use this methods

<html>

<head>

<title>Registration Form</title>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

</head>

<body>

 <h2>Registration Form</h2>

 <form action="registration_form.php" method="POST"> First name:

 <input type="text" name="firstname"> <br> Last name:

<input type="text" name="lastname">  

<input type="hidden" name="form_submitted" value="1" />

<input type="submit" value="Submit">

 </form>

</body>

</html>

output:

Registration Form

First name:_______

Last name:_______

Submit

To learn more....

brainly.in/question/10403546

Answered by vinod04jangid
0

Answer:

PHP function for username value submitted by a user

Explanation:

1.PHP documents can incorporate text, HTML, CSS, JavaScript, and PHP code

2.PHP code is achieved at the server, and the end result is lower back to the browser as simple HTML

3.PHP documents have extension ".php"

4.PHP can generate dynamic web page content

5.PHP can create, open, read, write, delete, and near documents at the server

6.PHP can acquire shape information

7.PHP can ship and get hold of cookies

8.PHP can add, delete, regulate information to your database

9.PHP may be used to manipulate user-access

10.PHP can encrypt information

11.PHP runs on numerous platforms (Windows, Linux, Unix, Mac OS X, etc.)

12.PHP is like minded with nearly all servers used today (Apache, IIS, etc.)

13.PHP helps a huge variety of databases

14.PHP is free. Download it from the reliable PHP resource: www.php.net

15.PHP is straightforward to examine and runs efficaciously at the server side




#SPJ2

Similar questions