Coding Fun Html How to use GET and POST method in php with example

How to use GET and POST method in php with example





we are creating a fill information form and we are sending the info to another form
sending information
{html}
{body}
{form action=”inforec.php” method=”get”}
Name:{input type=”text” name=”name”}{br}
E-mail:{input type=”text” name=”email”}
{input type=”submit”}
{/from}
{/body}

{/html}

second page

{html}
{body}

Welcome {?php echo $_GET[“name”];?}{br}
Your email address is:{?php echo $_GET[“email”];?}
{/body}
{/html}
more php…

Tags: , , , , , , , , , , , , , , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *