Guest chandran Posted December 13, 2006 Share Posted December 13, 2006 Is there any way for using a single .php file, combining both PHP and HTML in one simple text file, to retrieve the data and display the results. please give example if any. Link to comment Share on other sites More sharing options...
jlhaslip Posted December 13, 2006 Share Posted December 13, 2006 if(isset($_POST['submitted'])){ //conect to database //update table //check form variables // assign variables}//show the html form where the data is connected//action is to php_self Google on 'php redux'.http://www.peachpit.com/articles/article.a...qNum=2&rl=1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now