Formatting an ECHO statement.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Team,

A bit of silly one but like my book says, there are no dumb questions, I am
asking it here.

If I have :

$other="Whatever";

and I do:

echo 'Other Comments:' .$other. '<br/>

works perfectly well and prints the value. What if I want to, now, italicize
the value of $other with the above syntax? How do I achieve it?

I know we can do it this way : echo " I am <i>$other</i>"; but I want to
learn how to do it with the above syntax like I mentioned earlier.

Regards,
Shreyas Agasthya

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux