Home > DeveloperSection > Forums > problem in taken input
sourabh kumar
sourabh kumar

Total Post:6

Posted on    March-01-2011 3:13 AM


 1 Reply(s)
 1550  View(s)
Rate this:
i am new php
so my problem, how taken the input value from textbox
give the example of its.

Amit Singh

Total Post:103

Posted on    March-01-2011 3:52 AM

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"/>
<? php

2) when we use the get method

<form method="get">
<input type="text" name="txtName"/>
<? php

check this code

Modified On Mar-01-2011 03:53:25 AM

Don't want to miss updates? Please click the below button!

Follow MindStick