Back to Browse

Learn PHP Tutorial in Hindi 22 Difference among include and include once and require and require onc

2.9K views
Oct 9, 2015
3:52

This video is made for learning about Difference among include and include once and require and require once statement in PHP in Hindi. Difference include Statement • It is used to tell PHP to fetch a particular file and load all its contents into the current file. include_once Statement • Each time you issue the include directive, it includes the requested file again, even if you’ve already inserted it. • This will produce error messages, because you’re trying to define the same constant or function multiple times. require and require_once Statement • A potential problem with include and include_once is that PHP will only attempt to include the requested file. • Program execution continues even if the file is not found. • When it is absolutely essential to include a file, require and require_once is used.

Download

0 formats

No download links available.

Learn PHP Tutorial in Hindi 22 Difference among include and include once and require and require onc | NatokHD