receiver19 Posted July 3, 2009 Share Posted July 3, 2009 Hello, I am quite new to php. Learning in progress! I have a question. For example, there is a form to allow user to fiill, etc: name: image.google.com host: google.com How can i check the google.com is matched with the name? Thank you very much, Quote Link to comment Share on other sites More sharing options...
HPWebSolutions Posted July 4, 2009 Share Posted July 4, 2009 Use the $_POST array if you are submitting your form with post, otherwise use $_GET if($_POST['name'] == 'google.com'){ // do something } Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.