New PHP Tutorial
I’ve just uploaded a new version of my PHP tutorial. There are two major changes:
- I’ve converted all curly brackets (braces) to IF/ENDIF, WHILE/ENDWHILE, and FOREACH/ENDFOREACH. I’ve found this much easier for beginners to follow, especially in a web page where the ending of a block may be sitting on its own hidden in a bunch of HTML. I’ve added a section at the end discussing how to recognize curly brackets in other people’s code that they might see.
- I’ve replaced the ad-hoc MySQL section with a simple tutorial that follows seamlessly from the simple imaginary poll.
PHP for Dynamic Web Pages is available under the GNU Free Documentation License. If you have any comments, let me know.
- PHP for Dynamic Web Pages
- PHP is a full programming language that lets you easily add dynamic content to your web pages by interspersing PHP “code” inside your standard HTML web page.
- Internet and Programming Tutorials
- Internet and Programming Tutorials ranging from HTML, Javascript, and AppleScript, to Evaluating Information on the Net and Writing Non-Gendered Instructions.
More PHP
- Add nodes to SimpleXMLElement
- If you want to add child nodes in PHP’s SimpleXML, the correct way to do it is to add the node first, then create it.
- Web display of Taskpaper file
- It is easy to use PHP to convert a Taskpaper task file into simple HTML conducive to styling via CSS.
- MySQL for other applications
- I’ve just uploaded a MySQL tutorial that focuses on using MySQL in programs such as Dreamweaver. It goes over importing data, viewing data, and updating data.
- Webmaster in a Nutshell
- Without doubt the best reference work for webmasters that you’ll find. It contains the “reference” part of most of O’Reilly’s web-relevant nutshell books. You can find references for HTML 3.2, the CGI standard, JavaScript, Cascading Style Sheets, PHP, the HTTP 1.1 protocol, and configuration statements and server-side includes for the Apache/NCSA webservers.
