How to get the Name value using the Post method in php

advertisements

How to get the Name value using Post method in php like this

<input type="text" name="<?php echo $result['name'];?>" id="">

How to Post the Name value..?

<?php

$name=$_POST[''] --? here how can i get the value using name.

Please help me.Thanks

Is this Correct..? $name=$_POST['$result['name']'];


<input type="text" name="<?php echo $_POST['name'];?>" id="">