 Today students in this module, I will talk about I will show you the code also and how the forms in PHP work. So it's a multi part module. And I will discuss the code with you also. It has quite a few number of slides. So please bear with me and details are given in the text. So let's go ahead and look at the module coverage. So you see that it's a quite an extensive and elaborate module coverage. And but it's not difficult. Once we go through this, you will see that it is very easy to comprehend and understand. So let's go ahead. So we have actions and we have methods. Now remember that we have been discussing these things for a while now. What is an action? Now the action is where to send the data. And what it consists of it is absolute and it is relative also. Absolute is that I give the exact address at the exact location where the data has to be sent. And relative is maybe I am accessing the server and I am sitting on the server and I am developing an application and testing it. So it is relative to that location. And the methods get and post we have already discussed in a lot of detail from prior modules. And then the comparison between the get and post is the volume of data that we already discussed. It is just a kind of refresher before we go into the more nitty gritty details. So in the get we can see what is there. There is a limit at the browser end to process the data which is passed at part of the get and post it is in the message body. And of course it is not visible and it can be large also fairly large. So this is an HTML form and these are the controls which we discussed in the prior lecture and the different types of controls over here. You can see we have a text input field. We have the password. We have the radio buttons. We have the checkboxes and we have the hidden field also here. What is there. We don't know why because it is hidden. That is why we don't know. Don't know as the user the client but the programmer knows actually the programmer has placed this thing in the code. The programmer knows what is here. Not the end user. And of course there are different types of selection menus. Now let's look at text input and the password field. So what is important over here is that the text input field the type is text. The type is text. Okay. And the type is password over here. Right. The difference between them. The difference between them this is going to be hidden. This is going to be hidden. This is this is not going to be visible. This is hidden. So that is the main difference over here between the text and the password fields. Alright. I believe everybody understands this the difference between the password and the text field. Now we move ahead. Let's look at more stuff. So we have checkboxes and we have the radio button. Now remember this is the label over here and we have the input over here. Okay. And you can add the attribute over here in the checkboxes. Okay. You can add an attribute in the checkbox and it is going to work for you. Alright. And you can have groups of at least two buttons. When we talk of button you can have a group of two buttons and the value attribute is mandatory for checkboxes and radio buttons. The value attribute is this is mandatory. This is mandatory for the radio button. And this is also mandatory you can see over here. The yes is placed over here. This button is selected over here. So these things are mandatory. So these this is the way they are different from the text box and from the other fields. Now let's move on to more interesting stuff. Let's move on and we see over here is the submit and reset buttons. A submit button sends the submit button sends. Okay. It sends the value to the server where it goes to the server server script. It sends a value over there and the and the reset button. What does what it will do? It will back to the initial value back to initial value. Okay. Back to the initial value. That's what it's going to do submit and reset buttons. So these are some specialized buttons. And then we have the select field over here. And we have the hidden field. And hidden field is it is not displayed. It is not displayed on the page. Okay. It is not displayed. It is there in the page. It is there. Okay. But it is not displayed. That is why this is called as the hidden field. And we have discussed some of the applications of the hidden field also. Then what we have is the image field. We have the image field. It can work with the submit button work with the submit button. Okay. Submit button. And we have this push button over here. Push button doesn't do anything. Doesn't do anything. Okay. By default. By default, it doesn't do anything. Okay. These they trigger the events. Trigger the events. Okay. And how using JavaScript. For example, JavaScript, we will be discussing when we come to the relevant modules about the JavaScript. So what else we have we have this pull down menu and the list box. So when we set the size to one, this is the pull down menu. Pull down. Okay. And when we set the size to three, this changes into a list box. It's going to change into a list box over here list box pulled on menu over here. And these are the options over here. Okay. These are the options over here. So this is how this code is working. You can change the values and it becomes from a menu format to a list box. Okay. And then we have what we have over here is the multi select list box and the text area field. So in this multi list box over here. Okay. You can select by using the control key control key. Okay. And for multiple values for multiple values control key. And over here in this text area field, it is the height, which is the rows and the columns. So you can set them over here. This is the area field rows and width of the column. So this is how it works. And this is all we have for this module. I believe when you look at this code, and you read the code and match the code with the control elements in the form, it will become clear. Thank you very much.