View Single Post
Old 04-19-2009, 09:41 AM   #2 (permalink)
Sakakuchi
The Contributor
 
Sakakuchi's Avatar
 
Join Date: Feb 2009
Posts: 64
Thanks: 1
Sakakuchi is on a distinguished road
Default

Quite simple:

PHP Code:
// thats wrong
if(echo('some string'))
{
    echo(
'It will not work');
}

// while this would work 
if(print('some string'))
{
    print(
'It will not work');
}

// of course this would work to
if(print('some string'))
{
    echo(
'It will not work');

Sakakuchi is offline  
Reply With Quote