Re: $path
| From: | Alex Ciurea | Date: | Wed, 23 Apr 2003 12:12:53 +0000 |
| Subject: | Re: $path | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-144996@lists.php.net to get a copy of this message | ||
Dear Diksha Neel,
try to see the source of your page ('view source' from browser)
Then you'll be able to view what is outputed by your web-server and what is
wrong with you script.
Best regards,
Alex
----- Original Message -----
From: "Diksha Neel" <diksha_neel@rediffmail.com>
To: <php-general@lists.php.net>
Sent: Wednesday, April 23, 2003 3:10 PM
Subject: [PHP] $path
> dear all,
>
> hi! in my PHP script, i'm writing to an HTML file.
> $path contains the path name for the background image.
> when i echo the content of $path in the second line, i
> get the correct path name. but when i want to put
> it as background image, and write the following code,
> i do not get the required background in my HTML page.
>
> thanks,
> diksha.
>
>
>
> <?php
> echo" $path";
> $fn = "page0.html";
> $fp = fopen ($fn, "w");
> $string='<html>
> <head>
> <title>Address</title>
> </head>
>
> <body background=" <?php echo"$path" ?> ">
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>