• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 34. Using PHP > Writing PHP Code

Writing PHP Code

With PHP up and running on your server, you are ready to begin writing PHP scripts. All you need to do this is a simple text editor, such as Notepad in Windows or vi on a UNIX machine.

Basic Syntax Rules

You read earlier that PHP code coexists with XHTML code in the same file. The PHP instructions are parsed out and executed by the PHP scripting engine. To make it easy for the scripting engine to find your PHP code, you must enclose it in special delimiters. These take this form:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint