Saturday 1 August 2015

php include function

php include function :

This function saves us from writing same  lines  of codes again & again in
different pages. This is very useful in the case of database connection code.

Syntax : include 'filename'
e.g.  <?php
         include("database. php")
         ?>
where database is filename & .php is its extension.

No comments:

Post a Comment