Quantcast
Viewing all articles
Browse latest Browse all 5

New PHP Highlighter In Town

Hey everyone,

As you could have read here, the current release of my code highlighter has some trouble with highlighting PHP on servers running PHP version 4. I told you I should try to fix the problem and include a better PHP highlighter in the next release.

I worked very hard this morning to get PHP fixed, and I’m proud to announce that PHP is almost working the way it should. That means: including servers running PHP4.

You want an example? Sure, here it is:

PHP Code Like It Should

{code type=php}
mysql_connect ($host, $user, $password);
$result = mysql_db_query ('Database', 'select * from table');
while ($row = mysql_fetch_assoc ($result))
{
echo $row['user_id'];
echo $row['fullname'];
}
mysql_free_result ($result);
?>
{/code}

So, What’s Next?

After this highlighter is finished, I create one for JavaScript and properly one for Java. As soon as they all work the way it should, I will release version 1.1.

See you.


Viewing all articles
Browse latest Browse all 5

Trending Articles