Jump to content

billbrach

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Everything posted by billbrach

  1. SOLVED !! You guys are good !!  Daniel0 nailed it, I just KNEW it was something simple....
  2. Hey, thanks !! I don't have the liberty of changing it to a PHP extension file, 'cause its part of an existing program I adding features to. Shouldn't the server output the text as HTML, which the browser would then understand ?  If the server just output the text it would be fine too. Also, my example is very simplified just to show the problem, I'm actually needing to output PHP vars.  That part I have working.
  3. I have seen examples of this in web tutorials but I cannot make it work.  Maybe it is a PHP server setting problem ?? I have a file called 'test.htm', contents in code window here: [code]<html> <head> <title>PHP Test Page</title> </head> <body> This is normal HTML code <?php print ("print some text here"); ?> <br> Back into normal HTML </body> </html> [/code] This is what I would expect to see in my browser window: [color=red]This is normal HTML code print some text here Back into normal HTML [/color] This is what is actually displayed: [color=red]This is normal HTML code Back into normal HTML [/color] Any ideas why the text '[color=red]print some text here[/color]' in the PHP print statement, is NOT displayed by the browser ?? Bill
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.