(require_once)Have no way to come true
lima-city → Forum → Programmiersprachen → PHP, MySQL & .htaccess
-
I have a group to be going face to face much page
require_once('../doc/a.php');
require_once('../doc/b.php');
require_once('../doc/c.php');
Be composed of;
Another a group all
be going face to
face much page
require_once('../doc/d.php');
require_once('../doc/e.php');
require_once('../doc/f.php');
I want to do a function now , use a page of face test.php to contain:
function t1()
{
$str1 .=require_once('../doc/a.php');
$str1 .=require_once('../doc/b.php');
$str1 .=require_once('../doc/c.php');
return $str1
}
function t2()
{
$str2 .=require_once('../doc/d.php');
$str2 .=require_once('../doc/e.php');
$str2 .=require_once('../doc/f.php');
return $str2 ;
}
Have requiring that page of face calling is now and then direct
Require_once (test.php); T1 (); Or be t2 ();
But, why also has no way to come
true transferring page of face
require_once temporarily for a
specific task? Do not know that
place can solve this problem? -
Diskutiere mit und stelle Fragen: Jetzt kostenlos anmelden!
lima-city: Gratis werbefreier Webspace für deine eigene Homepage