Originally Posted by pross
nice thread so far mate, i have only one small concern so far; you are using double quotes in your variables, tho this is ok to do and works fine it can lead to hassles later especially if you want to include a double quote in the html output, for example..
$test = "hello";
$output = "<a href="http://someurl.com">" . $test;
the above snippet will break unless the double quotes inside the html link are escaped with a \
single quotes however do not have this problem..
$test = 'hello';
$output = '<a href="http://someurl.com">' . $test;
yes, good point.
i typically use double quotes and escape them when i want them in the HTML. but single quotes would probably be a better idea.