Re: [PHP-INSTALL] Help!

2008-04-13 Thread Keith Roberts
On Sun, 13 Apr 2008, Bryan wrote: To: php-install@lists.php.net From: Bryan <[EMAIL PROTECTED]> Subject: [PHP-INSTALL] Help! I've just set up my Apache server with mySql and PHP, and for the most part everything works fine, except: I can't embed PHP in an HTML file (if my server starts up wi

Re: [PHP-INSTALL] Help!

2008-04-13 Thread Doug Tabacco
I think what you're running into is some confusion about newlines. \n prints a newline in the output, yes. But since HTML ignores most whitespace (which includes \r and \n, you need to add a tag as well. On Apr 13, 2008, at 1:08 PM, Bryan wrote: one more question makes a new line,

Re: [PHP-INSTALL] Help!

2008-04-13 Thread Bryan
one more question makes a new line, and \n APPEARS to do nothing. do I even need to bother with the \n? (see, line 3 I didn't put the \n and still got the blank line, so is there any situation where the \n would NEED to be there?) I did the following: \n"; print "line 2 br nl \nline 3 b

Re: [PHP-INSTALL] Help!

2008-04-13 Thread Bryan
ok, so 1) I should just use the PHP extension and forget about the HTML extension? (I ask this, because, I know I changed the default startup on my server to INDEX.PHP, but, if/when I use someone else's server, can I change the startup program, or do I somehow have to transfer it from the INDE

Re: [PHP-INSTALL] Help!

2008-04-13 Thread BuildSmart
On Apr 13, 2008, at 13:18 PM, Bryan wrote: I've just set up my Apache server with mySql and PHP, and for the most part everything works fine, except: I can't embed PHP in an HTML file (if my server starts up with INDEX.HTML I can't do anything with PHP, is this possible, or am I just off t

[PHP-INSTALL] Help!

2008-04-13 Thread Bryan
I've just set up my Apache server with mySql and PHP, and for the most part everything works fine, except: I can't embed PHP in an HTML file (if my server starts up with INDEX.HTML I can't do anything with PHP, is this possible, or am I just off the deepend here?) Also, when I run a PHP file,