Ralph, on Mar 26 2007, 11:22 PM, said:
My personal development site has several tutorials that haven't been migrated onto this site yet which you might find enlightening...
Thanks, that was exactly what I needed at this stage. However, I'm still confused with forms... What happens when a form is created and text entered into it? Does it go directly to the database if the form is written correctly? Go to the database via php script? Get retreived from the browser by the php and sent to database? I guess I'm asking, what is the sequence of events that take place between when a form is filled out (I know how to make them) to when it is stored in a database (I can make them too)?
I have started this snippet here
http://www.etomite.com/index.php?au...g&blogid=11
12/4/07
I have since found out that forms that have input entered into them in a browser will have that info avaliable to the entire sippet. This can take place in the form of $_POST,$_GET or $_REQUEST functions. All of which have their benefits and drawbacks. Most commonly used methods in eto snippets that I have seen is REQUEST and POST. The info is stored in the magical place where all snippet processing occurs and can then be retreived using the commands above then integrated into a $variable (function) to use. This can include $updating_tables, $displaying on the screen etc. The hardest bit I have found is naming the form [components] consistently and retreiving them using the same [references] oops, I mean [components].
Edited by Cris D., 12 April 2007 - 04:57 AM.