Strange variable assignment

Charles

New Member
I was studying some code I found on the web recently, and came across this php syntax:\[code\]<?php $framecharset && $frame['charset'] = $framecharset; ?>\[/code\]Can someone explain what is going on in this line of code?What variable(s) are being assigned what value(s), and what is the purpose of the && operator, in that location of the statement?Thanks!Pat
 
Back
Top