programming

2 minutes read
What is PHP ? PHP stands for Hypertext Preprocessor and is a server-side language. PHP allows web developers to create dynamic content that interacts with databases. PHP is relatively new (compared to languages such as Perl (CGI) and Java) but is quickly becomming one of the most popular scripting languages on the internet. Learn PHP Code PHP is basically used for developing web based software applications. Writing PHP code on your computer is very easy. Declaring PHP Code PHP scripts are always...
4 minutes read
FPDF is a class to create PDF files with PHP, that is to say without using the PDFlib library. For those who are already familiar with FPDF, this post will show you how to output your PDF file using FPDF. There are 4 methods that you can use according to your own needs: Method 1: Saving the PDF to a file: $pdf->Output('yourfilename.pdf','F'); 1 $pdf->Output('yourfilename.pdf','F'); ...
20 minutes read
XML2Array is a class to convert XML file content to an associative array in PHP. It returns an array which can be used for data insertion into database. Its simply take string xml content as input and return array. Its very user when we are handling with xml files getting from SOAP and curl request. <?xml version="1.0" encoding="UTF-8"?> <Class> <Student> <Name>Ashish</title> <Sex>Male</Sex> <Age>...