Re: [PHP] learning classes not sure how to do this correctly

2006-12-15 Thread Richard Lynch
I think you are assuming that the stuff you do in test.php carries over to test2.php It doesn't. The ONLY stuff connected between test.php and test2.php is the POST data being sent by the FORM submission. Your $keclass needs to be re-built from scratch in test2.php, somehow. You can cram it int

Re: [PHP] learning classes not sure how to do this correctly

2006-12-15 Thread Jochem Maas
Macha wrote: > I'm not sure if it matters or not, but this is happening on the page > that you are sent to from hitting the submit button from the other > page...test.php is a form that sends you to test2.php after hitting the > submit button and its test2.php page that is having this issue with th

Re: [PHP] learning classes not sure how to do this correctly

2006-12-14 Thread Macha
I'm not sure if it matters or not, but this is happening on the page that you are sent to from hitting the submit button from the other page...test.php is a form that sends you to test2.php after hitting the submit button and its test2.php page that is having this issue with the $keclass. wit

Re: [PHP] learning classes not sure how to do this correctly

2006-12-14 Thread Jochem Maas
[EMAIL PROTECTED] wrote: > just starting to get used to classes, trying to figure out what i am > doing wrong, i know its going to be something stupid on my part, > probably really shouldn't be using a if statement or something heh > > just doing a basic email verification to make sure its looks l

[PHP] learning classes not sure how to do this correctly

2006-12-14 Thread macha
just starting to get used to classes, trying to figure out what i am doing wrong, i know its going to be something stupid on my part, probably really shouldn't be using a if statement or something heh just doing a basic email verification to make sure its looks like email addy so i take the post