<form action="URL" method="GET"> | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

<form action="URL" method="GET">

which URL point to ?! the current page or the next page ?! and if both no so which URL it should be there

1st Feb 2017, 3:15 PM
Hosam Mohamed
Hosam Mohamed - avatar
3 Answers
+ 1
Url is the page where u want to send the data of the form using the method get or post. If u keep it empty form will submit the data on the same page only. N if u give link of another page it will submit the data to that page.
1st Feb 2017, 3:18 PM
Divesh Agarwal
Divesh Agarwal - avatar
0
thank u but if i want to keep this data on the same page or another how i can listing it ?!!
1st Feb 2017, 3:25 PM
Hosam Mohamed
Hosam Mohamed - avatar
0
Forms always sends data to server, so URL means the address of a server handler, which will process the form data.
1st Feb 2017, 9:34 PM
Vasyl Mustyatsa
Vasyl Mustyatsa - avatar