I just installed PHP on my server, and I tried running a simple script, but it keeps choking as soon as it hits the first Echo statement: <?php> echo " <html> <body bgcolor='#000000'>"; PHP: Playing with it a little bit, I've found that it just doesn't like any echo statement where I try putting single quotes inside of the double quotes. I've written code like this that has worked on several other servers, but it just isn't working on mine. Any ideas?
Your opening tag is wrong, and you need to put a backslash before the quotation marks: <?php echo "<html><body bgcolor=\"#000000\">"; ?> PHP:
I literally just caught the opening tag. It's been too long since I've written PHP code. The rest of it is ok though, for whatever it's worth. Thanks.