Page 1 of 1

Will this cause some trouble?

Posted: Wed Dec 10, 2003 8:25 pm
by Perfidus
Will this echo cause any trouble because of the slash and chracters inside ""?

Code: Select all

if ($row['ene1t']!=0) echo{"(3-1-2004/10-1-2004)";}

Posted: Wed Dec 10, 2003 8:29 pm
by Sevengraff
no, but you need to get rid of the { }'s

Posted: Thu Dec 11, 2003 3:17 am
by twigletmac
or move them:

Code: Select all

if ($row['ene1t']!=0) {
    echo '(3-1-2004/10-1-2004)';
}
Mac