kabucek Posted January 15, 2009 Share Posted January 15, 2009 hi all,i have this piece of code to check the textbox input: $selectedProdCode="LMQ";if ($memberDataArray['eventDate']="FEBRUARY 28") //changed from ttevents { $selectedProdCode="febevent"; } elseif ($memberDataArray['eventDate']='ttevents') { $selectedProdCode="ttevents"; }- with this i want to check: if user types: FEBRUARY 28 in the box the system will select febevent if user tyeps: ttevents in the box the system will select tteventssomehow it doesn't work, it selects febevent all the time.thanks! Link to comment Share on other sites More sharing options...
ripken204 Posted January 18, 2009 Share Posted January 18, 2009 does $memberDataArray contain any data to begin with? print_r the array to see if the info that you want is in it. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now