kabucek Posted January 15, 2009 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!
ripken204 Posted January 18, 2009 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.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now