aRo` automating your e-commerce

22Feb/06
This blog has been neglected due to the success of Solidshops.com

Create a function simular to the iif access function

The access function iif is very easy to check an expression and return a different value wether the expression is true or false.


function iif($expression, $returntrue, $returnfalse = '') {
    return (
$expression ? $returntrue : $returnfalse);
}
?>

Popularity: 1% [?]

Filed under: php Leave a comment
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

(required)

No trackbacks yet.