RE: [PHP] Formatting an ECHO statement.
| From: | Ford, Mike | Date: | Mon, 18 Oct 2010 10:53:40 +0000 |
| Subject: | RE: [PHP] Formatting an ECHO statement. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-308785@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Shreyas Agasthya [mailto:shreyasbr@gmail.com]
> Sent: 18 October 2010 11:10
>
> 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?
echo 'Other Comments:<i>' .$other. '</i><br/>
Cheers!
Mike
--
Mike Ford,
Electronic Information Developer, Libraries and Learning Innovation,
Leeds Metropolitan University, C507 City Campus,
Woodhouse Lane, LEEDS, LS1 3HE, United Kingdom
Email: m.ford@leedsmet.ac.uk
Tel: +44 113 812 4730
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm