Site Owners Forums - Webmaster Forums

Site Owners Forums - Webmaster Forums (http://siteownersforums.com/index.php)
-   PHP / mySQL (http://siteownersforums.com/forumdisplay.php?f=10)
-   -   PHP including functions from another file. (http://siteownersforums.com/showthread.php?t=65462)

noahwilson 06-11-2013 03:21 AM

PHP including functions from another file.
 
If I have a form that includes another php file (let's call it B) with functions, but such form includes a different php file (called C) when it submits, will functions from B be accessible from within C?

Ranjan123 10-16-2013 08:49 AM

Yes it can be called.

mridul 11-05-2013 11:44 PM

yes............................................... .................

lampdev112 12-18-2013 05:39 AM

Include and require are identical, except upon failure:

require will produce a fatal error (E_COMPILE_ERROR) and stop the script
include will only produce a warning (E_WARNING) and the script will continue

Die_heart 01-02-2014 12:13 AM

yeah you can say

simar 03-05-2014 02:54 AM

include function
 
Include function is used for include more files for embedded one file.The use of include file attaching more files with working file.......


All times are GMT -7. The time now is 11:06 PM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.