problem in taken input

Total Post:6

Points:42
PHP 
PHP
 1759  View(s)
Ratings:
Rate this:
i am new php
so my problem, how taken the input value from textbox
give the example of its.
  1. Post:103

    Points:721
    Re: problem in taken input

    hi,
    using $_post or $_get method to get the value from textbox
     for example

     1) when we use the post method
    <form method="post"> <input type="text" name="txtName"/> --- </form> <? php $strName=$_post['txtName']; ?>
    2) when we use the get method
    <form method="get"> <input type="text" name="txtName"/> --- </form> <? php $strName=$_get['txtName']; ?>

    check this code


      Modified On Mar-29-2018 03:52:54 AM

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!