PHP


The functions.php file is a file on your WordPress web server that is part of a group of files that define your theme. Each theme has its own functions.php file. Normally you don’t want to change this file at all. If you want to add code to this file it […]

Functions.php


Let’s write some code. The line below will go between your two PHP tags. You need a semicolon at the end of each line, except for the last line in a php script. Below is a variable declaration ($color) which must begin with a question mark. The period operator concatenates. […]

PHP Introduction Part 2


Just a few beginner notes on the PHP language. Unlike CGI scripts, which require you to write code to output HTML, PHP lets you embed PHP code in regular HTML pages, and execute the embedded PHP code when the page is requested. Ok, how about a web site for online […]

PHP Introduction



The code below would have a dot php file extension. In WordPress I have shown the code using a plugin called SyntaxHighlighter Evolved in the second bit of code. It looks a lot better than the first bit of code and uses less space also. <html> <head> <title>PHP¬†Test</title> </head> <body> […]

PHP code