i need returning value of function as a variable
example :
function 1 () { return "some error"; }
function 2 () { $v = 1(); if ( $v != '' ) echo "error"; }
it doesn't work this way this works : echo 1(); but i need the string value as a variable
thanks
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php