I went in and was editing my form with some extra info, links and icons. While doing so I found I needed to add another field. Well everything works fine and dandy until it comes time to view thi info after is't been input. Once I hit the submit button I have it set to auto email me. Everything is there accept two entries... the one i edited and the one i added. I did figure out how to remove it from being required but cannot figure out how or where to modify it so it will recognize and accept my additions... Any help would be greatly appreciated. Thnaks all.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
you need to make sure you are adding your entries in both the form html file as well as the form processor code (in process.php). Furthermore, you need to register you variable at the top of the process.php file. I have added a function called pt_register() . So if you want to register a variable called myVar, you would something like:
pt_register('POST','myVar');
and that would enable you to use $myVar in the rest of your code. This is basically to get over the register globals issue.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2004-05-25
Ok, thanks alot, I'll give that a shot. It's been quite a while since i've done much of any programming so most of this is new just based on changes in the industry..abt. 10 yrs or so.... Any good spots for learnign the structure and and generaly how PhP works? I'm basically back to the newbie stage of things. Thanks again for the help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I went in and was editing my form with some extra info, links and icons. While doing so I found I needed to add another field. Well everything works fine and dandy until it comes time to view thi info after is't been input. Once I hit the submit button I have it set to auto email me. Everything is there accept two entries... the one i edited and the one i added. I did figure out how to remove it from being required but cannot figure out how or where to modify it so it will recognize and accept my additions... Any help would be greatly appreciated. Thnaks all.
you need to make sure you are adding your entries in both the form html file as well as the form processor code (in process.php). Furthermore, you need to register you variable at the top of the process.php file. I have added a function called pt_register() . So if you want to register a variable called myVar, you would something like:
pt_register('POST','myVar');
and that would enable you to use $myVar in the rest of your code. This is basically to get over the register globals issue.
Ok, thanks alot, I'll give that a shot. It's been quite a while since i've done much of any programming so most of this is new just based on changes in the industry..abt. 10 yrs or so.... Any good spots for learnign the structure and and generaly how PhP works? I'm basically back to the newbie stage of things. Thanks again for the help.