How to export SQL table in csv with PHP

In this post we will see how to export SQL table in csv format with PHP in simplest way. First connect to your server and database as usual and write down following code to export your desired table in csv format...Continue reading

How to export SQL table in csv with PHP

Sending mail with PHP Mailer from your domain email address

Sending email is important if you have any blog or website to communicate with your readers or users. There is a simple PHP function from where you can easily send an email form your server....Continue reading

Sending mail with PHP Mailer from your domain email address

Creating thumbnails dynamically from images with PHP

Managing large gallerias or photo albums in dynamic web services needs thumbnails to be created on fly. In PHP there are built in functions which can create thumbnails at run time with given width but for more requirements like creating thumbnails with custom provided values for top, left and more supported image formats like png, gif we can use phpThumb....Continue reading

Creating thumbnails dynamically from images with PHP

How to create PDF file with PHP

There are some options available that creates PDF files with PHP functions. The simplest and the easiest method i choose and suggest is using MPDF53 library. With MPDF53 library you can easily generate PDF file from any HTML or PHP file with PHP which can contain images, styles sheet or inline styles....Continue reading

How to create PDF file with PHP

Creating RSS feed in xml format with PHP and SQL

RSS (Rich Site Summary) is an important feature for online publishers and readers as it provides platform to get frequently updated content like blogs, news, articles, audio, video so the readers do not have to check site for updates....Continue reading

Creating RSS feed in xml format with PHP and SQL

Backup SQL database with PHP

Dynamic websites mostly have SQL database where most of the data is fetched. If website is blog, portfolio, news or product type then database will be updated frequently in that case it is important to have backup of your database most frequently....Continue reading

Backup SQL database with PHP

Creating XML sitemap with PHP and SQL and submitting to search engines

Sitemap are important if you own a website and want search engines to index important URLs from your site fast to improve your SEO. Most famous search engines like Google and Bing when look at your website they look for sitemap nowadays in XML format.

Creating XML sitemap with PHP and SQL and submitting to search engines

Writing functions to insert, update, search, delete from SQL tables in PHP

Beginners who have started learning any programming language, some time find difficulties searching good material to start with. In today's post we will write some basic functions in PHP to insert, update, search and delete from SQL tables... Continue reading

Writing functions to insert, update, search, delete from SQL tables in PHP

How to convert text into image with PHP

Sometimes you don't want any one copy your text but don't want to add image. In this scenario you can convert text into image at run time and don't have to bother adding images. The following code will convert any string to an image...Continue reading

How to convert text into image with PHP

Creating SEO friendly URLs with PHP and SQL

Creating custom URL or SEO friendly URLs are important if you have a dynamic website and want to get more exposure in search engine results.

Creating SEO friendly URLs with PHP and SQL