PHP Interview Question For Fresher1
PHP Interview Question For Fresher1
What is PHP ?
PHP stands for Hypertext Preprocessor It is open source server side scripting language. It support many
database for example: MySQL, Oracle, Sybase, Solid, PostgreSQL, generic ODBC etc.
Syntax
Syntax
Syntax
bool mail($to,$subject,$message,$header);
Syntax
Symfony
CodeIgniter
Yii 2
Symfony
Zend Framework
How will you create a database using PHP and MySQL ?
Using mysql_create_db("Database Name") you can create a database using PHP and MySQL.
Procedural
object oriented style.
Notices: These types of error are the non-critical errors. These errors are not
displayed to the users.
Warnings: These types of error are more serious errors but they do not result in
script termination. By default, these errors are displayed to the user.
Fatal Errors: These types of error are the most critical errors. These errors may
be a cause of immediate termination of script.
<?php
Session_register($ur_session_var);
?>
What is a session ?
PHP Engine creates a logical object to preserve data across subsequent HTTP requests, which is known as
session.
Sessions generally store temporary data to allow multiple PHP pages to offer a complete functional
transaction for the same user.