Qinterview.com

Most Commonly Asked Job Interview Questions And Answers

125,000+ Member

our android app in store



What is PHP's mysqli Extension?


php interview questions and answers

common interview question for fresher and experiences.prepare your job interview with us. get your dream job.most frequently asked interview questions.best interview questions. php for interview questions and answers for fresher and experience. improve interview skills.improve interview confidence.php best interview questions. start your php job interview right now and get your dream jobs. preparation job interview any place and any time.also our android application available here. top php interview questions. best and top asking questions php interview questions with answers.






Note: any question and answer correct or incorrect give you vote. also you know correct answer then you can post your answer or give vote in answer.

my favorites

add to favorite


What is PHP's mysqli Extension?

The mysqli extension, or as it is sometimes known, the MySQL improved
extension, was developed to take advantage of new features found in MySQL
systems versions 4.1.3 and newer. The mysqli extension is included with PHP
versions 5 and later.
The mysqli extension has a number of benefits, the key enhancements over the
mysql extension being:
=>Object-oriented interface
=>Support for Prepared Statements
=>Support for Multiple Statements
=>Support for Transactions
=>Enhanced debugging capabilities
=>Embedded server support

php interview questions and answers.
jayvik 0 0


More Answer

Post your Answer



php popular interview questions and answers


favorite 0
votes 0
answers 1
views 2175

What is PHP's mysqli Extension?

The mysqli extension, or as it is sometimes known, the MySQL improvedextension, was developed to take advantage of new features found in MySQLsystems versions 4.1.3 and newer. The mysqli extension is included with PHPversions 5 and later.The mysqli e... view more
submited by :- on 2013-10-04 10:58:35

favorite 0
votes 0
answers 7
views 1803

what are magic methods?

Magic methods are the members functions that is available to all the instance of class Magic methods always starts with __. Eg. __construct All magic methods needs to be declared as public To use magic method they should be defined within the class... view more
submited by :- on 2013-07-15 11:51:47

favorite 0
votes 0
answers 1
views 1485

in PHP for pdf which library used?

The PDF functions in PHP can create PDF files using the PDFlib library With version 6, PDFlib offers an object-oriented API for PHP 5 in addition to the function-oriented API for PHP 4. There is also the » Panda module. FPDF is a PHP class which a... view more
submited by :- on 2013-07-15 11:50:02

favorite 0
votes 0
answers 0
views 1152

what is PDO ?

The PDO ( PHP Data Objects ) extension defines a lightweight, consistent interfacefor accessing databases in PHP. if you are using the PDO API, you could switch thedatabase server you used, from say PgSQL to MySQL, and only need to makeminor changes ... view more
submited by :- on 2013-10-04 10:58:02

favorite 0
votes 0
answers 0
views 1055

what is CURL?

CURL means Client URL Librarycurl is a command line tool for transferring files with URL syntax, supporting FTP,FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, LDAP, LDAPS and FILE. curl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading... view more
submited by :- on 2013-10-04 10:56:05

favorite 0
votes 0
answers 2
views 997

what is design pattern? singleton pattern?

A design pattern is a general reusable solution to a commonly occurring problem in software design.The Singleton design pattern allows many parts of a program to share a single resource without having to work out the details of the sharing themselves... view more
submited by :- on 2013-07-15 11:51:09

favorite 0
votes 0
answers 3
views 953

how to track no of user logged in ?

whenever a user logs in track the IP, userID etc..and store it in a DB with a active flag while log out or sesion expire make it inactive. At any time by counting the no: of active records we can get the no: of visitors.php interview questions and an... view more
submited by :- on 2013-07-15 11:49:25

favorite 0
votes 0
answers 1
views 949

how to track user logged out or not? when user is idle ?

By checking the session variable exist or not while loading th page. As the session will exist longer as till browser closes. The default behaviour for sessions is to keep a session open indefinitely and only to expire a session when the browser is c... view more
submited by :- on 2013-07-15 11:48:48

favorite 0
votes 0
answers 1
views 907

How can we know the number of days between two given dates usingPHP?

$date1 = date(Y-m-d);$date2 = 2006-08-15;$days = (strtotime($date1) - strtotime($date2)) / (60 * 60 * 24);interview question fresher.... view more
submited by :- on 2013-07-08 18:04:41

favorite 0
votes 0
answers 0
views 891

what is MVC? why its been used?

Model-view-controller (MVC) is an architectural pattern used in software engineering. Successful use of the pattern isolates business logic from user interface considerations, resulting in an application where it is easier to modify either the visual... view more
submited by :- on 2013-10-04 10:53:46

favorite 0
votes 0
answers 1
views 882

for image work which library?

we will need to compile PHP with the GD library of image functions for this to work. GD and PHP may also require other libraries, depending on which image formats you want to work with.php interview questions and answers.... view more
submited by :- on 2013-07-15 11:50:35

favorite 0
votes 0
answers 1
views 880

What are default session time and path?

default session time in PHP is 1440 seconds or 24 minutes Default session save path id temporary folder /tmpphp interview questions and answers.... view more
submited by :- on 2013-07-15 11:47:58

favorite 0
votes 0
answers 2
views 864

How can we encrypt and decrypt a data present in a MySQL table using MySQL?

AES_ENCRYPT () and AES_DECRYPT ()Best interview question answer php for experiences and fresher... view more
submited by :- on 2013-06-17 14:12:26

favorite 0
votes 0
answers 0
views 859

what is framework? how it works? what is advantage?

In general, a framework is a real or conceptual structure intended to serve as a support or guide for the building of something that expands the structure into something useful. Advantages : Consistent Programming Model Direct Support for Security Si... view more
submited by :- on 2013-10-04 10:54:28

favorite 0
votes 0
answers 0
views 855

what is the major php security hole? how to avoid?

1. Never include, require, or otherwise open a file with a filename based on user input, without thoroughly checking it first.2. Be careful with eval() Placing user-inputted values into the eval() function canbe extremely dangerous. You essentially g... view more
submited by :- on 2013-10-04 10:50:31

favorite 0
votes 0
answers 0
views 848

How can I load data from a text file into a table?

you can use LOAD DATA INFILE file_name; syntax to load data from a text file. but you have to make sure thata) data is delimitedb) columns and data matched correctlyinterview question fresher.... view more
submited by :- on 2013-07-08 18:03:22

favorite 0
votes 0
answers 0
views 842

How many ways can we get the value of current session id?

session_id() returns the session id for the current session.top php interview question... view more
submited by :- on 2013-07-02 08:02:08

favorite 0
votes 0
answers 0
views 820

PHP how to know user has read the email?

Using Disposition-Notification-To: in mailheader we can get read receipt.Add the possibility to define a read receipt when sending an email.Itâ€TMs quite straightforward, just edit email.php, and add this at vars definitions:var $readReceipt = nul... view more
submited by :- on 2013-07-15 11:47:24

favorite 0
votes 0
answers 1
views 780

What is the functionality of md5 function in PHP?

Calculate the md5 hash of a string. The hash is a 32-character hexadecimal number. I use it to generate keys which I use to identify users etc. If I add random no techniques to it the md5 generated nowwill be totally different for the same string I a... view more
submited by :- on 2013-07-08 18:01:47

favorite 0
votes 0
answers 0
views 769

How can we send mail using JavaScript?

JavaScript does not have any networking capabilities as it is designed to work on client site. As a result we can not send mails using JavaScript. But we can call the client side mail protocol mailto via JavaScript to prompt for an email to send. thi... view more
submited by :- on 2013-07-04 09:29:39


php best Interview Questions have been designed especially to get you acquainted with the nature of questions you may encounter during your interview for the subject of php Programming Language. here some questions that helpful for your interview.