i have two files,one is html and other is php.i retrieved some information from html file and i pocessed it in php file.Again i want to send result into the same html file.how to do that?
pls. help me out.
As far as I know, you can't do that.
In order to display/process variables you need php. HTML is static.
Not sure why it's important to display the info in the static HTML file, but if for some reason it's absolutely necessary learn file I/O functions and modify the HTML file on the server using your PHP script. Filesystem functions on PHP.net.
Obviously the preferred method would be to just use a php document to display your dynamic content... that's what PHP was made for.