For that matter, even better... Why bother with PHP at all?
<?php /* code here */ ?> <link rel="stylesheet" type="text/css" href="default.css"> <?php /* More code here */ ?> -----Original Message----- From: John Steele [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 7:53 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] printing in HTML or PHP PHP doesn't have to parse this string (since it contains no PHP variables, why pass it through the parser?), and it's easier to read: echo '<link rel="stylesheet" type="text/css" href="default.css">'; >On Monday, March 18, 2002, at 02:57 PM, Daniel Ferreira Castro wrote: > >>I would like to print the line bellow on my HTML generated by a PHP >>file. How can I do it? >> >>The line is: >><link rel="stylesheet" type="text/css" href="default.css"> > ><?php > >print "<link rel=\"stylesheet\" type=\"text/css\" href=\"default.css\" >/>"; > >?> > >E >---- >Erik Price >Web Developer Temp >Media Lab, H.H. Brown >[EMAIL PROTECTED] /* SteeleSoft Consulting John Steele - Systems Analyst/Programmer * We also walk dogs... Dynamic Web Design PHP/MySQL/Linux/Hosting * www.steelesoftconsulting.com [EMAIL PROTECTED] */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php