What I want to do is quite simple, but it still doesn't work...
I've put an echo() fonction that displays some Htlm, and I want another php function to be run whithin this echo.
In other words, it looks like this :
<?php
echo "<td class=\"txtgris\"><input ".if (!(strcmp("$categ","internet"))) {echo "CHECKED";}." type=\"radio\" name=\"categ\" value=\"internet\"></td>";
?>
It just give me an error : "Parse error: parse error, unexpected T_IF in (...)"
How to make it ? Thanks.