CMDAI
asked on
php if statment to compile a string
$recname = "stk_" . if($row[4]==1){return "a";}else{return "b";} . $row[0];
is there a replacement for "if" if i want to write a statement like this ?
is there a replacement for "if" if i want to write a statement like this ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER