Digital Web Magazine

The web professional's online magazine of choice.

PHP For Designers : Comments

By Matt Mullenweg

March 31, 2004



May 19, 2004 11:56 AM

Just a note about single-vs-double quotes and variables. You can always use the concatenate operator: . (a period).

Instead of:

echo “I have $number_cds CDs.”;

You could do:

echo ‘I have ‘.$number_cds.’ CDs.’;

A small speed savings, yes, but a savings, nonetheless.


August 20, 2004 6:59 AM

and what for a editor you think are the best?


August 30, 2004 11:35 AM


Anything that highlights the various keywords and functions. One example is JEdit. It is very easy to install, free, and written in java (so you can install it on systems where you don’t have admin priveleges).

Matt Galaviz

September 7, 2004 2:36 PM

Try HTML-Kit or Crimson Editor for editors. They are free (I believe) and both offer highlighting of syntax. Nice article, although you’re barely touching the surface of PHP.


November 23, 2004 12:41 PM

Tiffany: I guess it’s a battle between being fast and being readable, which I think tends to be lost by the factor ‘speed’ when complexity grows.

Alex: good old gEdit comes with (almost?) every single Linux distro, and is presently capable of PHP-syntax highlighting — as well as other languages’, too.

and last, but not least, Matt (Mullenweg): good article, but I am forced to agree with Matt (Galaviz)—the article is not quite a technical PHP document (not even a “PHP 101”), but rather an excelent teaser to those who are skeptical about using MUST :p">PHP.

Mitch Gaffigan

May 5, 2005 8:43 PM

I Prefer DreamWeaver. It is awesome, and if you want some free space to try out you code with mysql and phpmyadmin you can email me and get up to a gb for free. Domains are $10 per year. otherwise get a subdomain of for free.

Sorry, comments are closed.

Media Temple

via Ad Packs