$path

From: Date: Wed, 23 Apr 2003 12:10:46 +0000
Subject: $path
Groups: php.general 
Request: Send a blank email to php-general+get-144995@lists.php.net to get a copy of this message
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" ?> ">

« previous php.general (#144995) next »