Technology Software

How to Run PHP in an HTML File

    • 1). Open your HTML or text editor. Create a new file and save it as "greeting.php."

    • 2). Insert the following example coding into the document:

      "<html>

      <head>

      <title>Greeting</title>

      </head>

      <body>

      <?php echo '<p>Greetings World Wide Web!</p>'; ?>

      </body>

      </html>"

    • 3). Save your document and upload the page to your server. Navigate to it in your browser.

    • 4). View your source and locate the "<body>" section. Your code has been replaced with:

      "<body>

      <p>Greetings World Wide Web!</p>

      </body>"

Related posts "Technology : Software"

How to Put My FB to Sleep

Software

Some Useful Tips to Avoid Hack Attacks

Software

CREN

Software

How to Transfer DVD to 3GP

Software

How to Troubleshoot if My Computer Only Types in Wingdings

Software

What Cloud Computing Really Means

Software

How to Make More Points Visible on Scatter Plots in Excel for Mac

Software

How to Make a Spreadsheet Without Excel

Software

Enhancing VOB Videos to MPEG Format

Software

Leave a Comment