zeeshan Posted February 22, 2008 Share Posted February 22, 2008 when i put $_get in the form then the data stored in the database will be shown i think?and if i put $_post then it will submit the user's information in the database? are these things true Link to comment Share on other sites More sharing options...
real_illusions Posted February 22, 2008 Share Posted February 22, 2008 $_POST doesn't show the information transmitted in the url.http://www.w3schools.com/php/php_post.asp$_GET does show the information in the urlhttp://www.w3schools.com/php/php_get.aspNeither will show whats in the database unless you tell the page to access the database and show the contents.Both can be used to submit form contents to your email (via the mail function) or submit info to a database. But $_POST is more reliable and secure, so you should use that. Link to comment Share on other sites More sharing options...
zeeshan Posted February 22, 2008 Author Share Posted February 22, 2008 thanx Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.