Category Archives: PHP

Images in if-else

If you want to see different type of image & size in different post then you may use following code- < ?php if ($image = get_post_meta($post->ID, ‘slide’, true)) { ?> <img width=”617″ height=”350″ src=”<?php echo $image; ?>” alt=”Image” /> < ?php

A to Z PHP and MySQL Tutorial

PHP MySQL Connect to a Database Create a Connection to a MySQL Database Before you can access data in a database, you must create a connection to the database. In PHP, this is done with the mysql_connect() function. Syntax mysql_connect(servername,username,password);

Template processor

A template processor (also known as a template engine or a template parser) is software or a software component that is designed to combine one or moretemplates with a data model to produce one or more result documents.  For purposes of this article, a result document is

List of PHP editors

This article contains a list of text editors with features specific to the PHP scripting language. Free editors Cross Platform ActiveState Komodo Edit Bluefish – Supports any protocol that is supported by GnomeVFS. (SSH…) Eclipse – PHPEclipse and PHP Development Tools projects. With additional plugins supports SVN, CVS, Database

List of PHP accelerators

Alternative PHP Cache Alternative PHP Cache (APC) is a free, open source framework that optimizes PHP intermediate code and caches data and compiled code from the PHP bytecode compiler in shared memory. APC is quickly becoming the de-facto standard PHP caching mechanism as

PHP accelerator

A PHP accelerator is an extension designed to boost the performance of software applications written using the PHP programming language. Most PHP accelerators work by caching the compiledbytecode of PHP scripts to avoid the overhead of parsing and compiling source code on each request (some

PHP

PHP: Hypertext Preprocessor is a widely used, general-purpose scripting language that was originally designed for web development to produce dynamic web pages. For this purpose, PHP code is embedded into the HTML source document and interpreted by a web server