How would you write this code??? (PHP)?

Mythia

New member
Im trying to write a PHP code to check to see if any customers are from the state of Georgia (GA) and if they are then put sales tax on it...

So far i have this....

if($checkrow['state'] == GA) {

//codes are here - but for the purpose of the question i wont post all the codes

}

is that the proper way to ask PHP to find the state or do u write it like this

if($checkrow['state'] == 'GA') {

}

Please help Thanks!!!
 
Back
Top