I’m surprised whenever I look at recently written PHP and see folks are still writing their HTML inline with their code. Perhaps it’s because so many PHP tutorials teach this style, or maybe people just aren’t aware of the advantages of separating it out. If you still write this way, feel free to comment on why. I’ll try to explain the advantages of separating it out here. I won’t get into the details of Model-View-Controller programming here, see that Wikipedia article or a blog post I will probably eventually do about it. But for now I will just plead that you separate out your display HTML from your functional PHP code.
Continue ReadingAs our list of supported platforms continues to grow, we’d like to take a moment and look at one of the platforms we support that can make a big difference for PHP developers – Zend Server.
Continue ReadingThe release of PHP 5.5 has been announced, and it will be deprecating the old standard MySQL functions (such as mysql_query). It’s been known that this was coming for a while, and developers have been encouraged to migrate to MySQLi or PDO, but many haven’t. If you’ve been putting it off, it’s probably time to make the jump before moving to PHP 5.5. Of course the MySQL functions will still work in 5.5 but you’ll have to suppress the deprecated warnings.
Continue ReadingWhen it comes to installing popular software, we almost always recommend that our Web Hosting customers use Softaculous. Not only does Softaculous make it fast and easy to install these solutions, but you can update your software when one is available with just 1-click.
Continue Reading