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"; } PHP: - 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 ttevents somehow it doesn't work, it selects febevent all the time. thanks!
sorry it did not help ... i am not a php coder (tried to help since it is a common mistake in other languages..) Have you tried outputting the contents of $memberDataArray['eventDate'] to see what it has stored ?