php interpretation in Firefox and Safari


not great @ php , have come across situation firefox interpreting below php correctly safari not.

 

if($color == "red" && $size == "large" || $color == "green" && $size == "small")


{

do }

 

else {

 

do }

 

 

firefox accepts either of color/size cominations above , executes {do this} or {do that} arguments whist safari executes first color/size combination.

 

any other way of writing safari play ball?

 

cheers

 

os.

problem solved after hours of testing.........most bizzare indeed. safari did not php variable , cycled through once stopped checking other instances of it. when changed different variable safari worked way have expected.



More discussions in Dreamweaver support forum


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support