Re: printing in HTML or PHP

From: Date: Mon, 18 Mar 2002 21:05:21 +0000
Subject: Re: printing in HTML or PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-89018@lists.php.net to get a copy of this message
On Monday, March 18, 2002, at 03:49 PM, Daniel Ferreira Castro wrote:
I need to use it with fwrite not print :-) "Erik Price" <pricee@hhbrown.com> wrote in message news:1E848FF4-3AAD-11D6-AC0B-0050E4857868@hhbrown.com...
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\" />"; ?>
<?php $fp = fopen("./filename.txt", w); $string_to_write = "link rel=\"stylesheet\" type=\"text/css\" href=\"default.css\" />"; fwrite($fp, $string_to_write); fclose($fp); ?> Does that work for you? Erik ---- Erik Price Web Developer Temp Media Lab, H.H. Brown pricee@hhbrown.com

« previous php.general (#89018) next »