Jump to content

jah35564

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

jah35564's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. This is the code that I use: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 strict//EN""http://www.W3.org/TR/xhtmll/DTD/xhtmll1_strict.dtd''> <htrnl> <head> <title>Hello World</title> </head> <body> <?php /* define ("WORLD_iNFO", = ",92897000); define ("SUN_INFO") = 72000000; define ("MOON_INFO") = 3456; $WorldInfo = 92897000; $SunInfo = 72000000; $MoonInfo = 3456; */ <p> echo "<p>Hello", $WorldVar!" <br />" echo "The $WorldVar is", WORLD_INFO," miles from the $SunVar.<br />"; echo "Hello ", $SunVar, "!<br />"; echo "The $SunVar's core temperature is approximately", SUN_INFO," degrees Fahrenheit.<br />"; echo "Hello ", $MoonVar, "!<br />"; echo "The $MoonVar is MOON_INFO," miles in diameter.</p>"; </p> ?> </body> </html>
  2. I am a Information Technology and I am currently taking PHP as one of my classes. My problem now is that when I create a page and try to view it with Apache, it shows up as a blank page. Please someone help me.
×
×
  • 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.