Monday, November 12, 2018

PHP Error Types - And their Differences


Notices :

It will be shown in below condition like if we will try to access a variable which is not defined yet.
it will not stop script execution.

Warning :

It will be shown while using include(), it will not able to find file for include.
It will not stop script execution.

Fatal Error :

It will be shown while using require(), it will not able to find file at specified location.
it will stop script execution.

Parse Error :

It's’s syntax error or missing code error.
it will stop script execution.

Related Posts:

  • How can fetch the records in MySQL using php? Create  a  form.php  for the inserting data & view.php for the fetching data in the  Data base Fetching Records  in the database using Mysql_fetch_array ( ) Function. Select Command use for the … Read More
  • How can insert the data in mysql using php? step 1:- Firstly create a database name & secondly create a table in MySQL. step 2:-After that create a table structure eg. Column Name1 , Coulmn Name2 , Coulmn NameN... <?php mysql_connect("localhost","root"… Read More
  • MySql Quaries You can create and populate the example table with these statements: CREATE TABLE shop ( article INT(4) UNSIGNED ZEROFILL DEFAULT '0000' NOT NULL, dealer CHAR(20) DEFAULT '' NOT NULL, p… Read More
  • PHP Error Types - And their Differences Notices : It will be shown in below condition like if we will try to access a variable which is not defined yet. it will not stop script execution. Warning : It will be shown while using include(), it will not a… Read More
  • Delete data using core php ? <?php if(isset($_REQUEST['del_id'])) {    $del=$_REQUEST['del_id'];     $de="delete from user where uid='$del'";     $ex=mysql_query($del);     header("lo… Read More

0 comments:

Post a Comment