Hi, Sunday, July 6, 2003, 3:55:39 PM, you wrote: a> I'm setting up php on the apache server for the first time here running a> Slackware linux, and I cannot get the echo command to display properly.
a> My source file is phptest.php and it looks like this: a> <html> a> <head> a> <title>PHP Test</title> a> </head> a> <body bgcolor="#000000" text="#FFFFFF"> a> <br><br> a> <center> a> <?php echo "<h1>PHP is running.</h1>"; ?> a> </center> a> </body> a> </html> a> When the page is displayed on my server, it doesn't show the text. a> Altenatively, if I enclose the quoted string in parenthesis, a> <?php echo ("<h1>PHP is running.</h1>"); ?> a> it displays the string AND the closing double quote, paren, semicolon, question mark, and >> on a new line. What the hell is going on here? a> PHP is running. ");?>> make sure you have a line like AddType application/x-httpd-php .php in httpd.conf and that you restarted apache -- regards, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php