Jump to content

check input from textbox


Recommended Posts

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 ttevents

somehow it doesn't work, it selects febevent all the time.

thanks!

Link to comment
Share on other sites


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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...