Friday 19 July 2013

Trying Out a Little PHP

 

To test some PHP code, follow these steps to create a simple HTML Web page with an embedded PHP function:

 

1. Open a new, blank file in your default text editor — Notepad

(Windows) or TextMate (Mac) — type <html>, and then press Enter.

The <html> tag tells the Web browser that this is an HTML document and should be read as a Web page.

2. Type <head> and then press Enter.

The <head> HTML tag contains elements that tell the Web browser

about the document; this information is read by the browser but hidden from the Web page visitor.

0 comments:

Post a Comment