How to get the contents inside <p> tag of an html file into a php file

Hai all,

I want to retrieve the contents of a paragragh in html file to php file...... Is there a way to do this????? 

I tried the code below…

html file

newdictionary

This is a paragraph

newdictionary.php

<?php $name=$_POST["p"]; echo $name; ?>

How can i get this???Someone help…

To submit the paragraph it needs to be in an input field or text field.

[code]
This is a paragraph

[/code]
Sponsor our Newsletter | Privacy Policy | Terms of Service