Connecting Tech Pros Worldwide Forums | Help | Site Map

function inner other

nawfer
Guest
 
Posts: n/a
#1: Nov 14 '08
if have a dir with:
Folder_a/subfolder_a/a.php
Folder_b/b.php

and one file a.php with one function that return some arguments
function A() {
$arr1 = array();
....
return $arr1;
}


how can inner file b.php to write a B function that recall function A
and return always the same arguments?


function B() {
recall here function A
}

Jerry Stuckle
Guest
 
Posts: n/a
#2: Nov 14 '08

re: function inner other


nawfer wrote:
Quote:
if have a dir with:
Folder_a/subfolder_a/a.php
Folder_b/b.php
>
and one file a.php with one function that return some arguments
function A() {
$arr1 = array();
....
return $arr1;
}
>
>
how can inner file b.php to write a B function that recall function A
and return always the same arguments?
>
>
function B() {
recall here function A
}

Answered in alt.php.

If you must post to multiple newsgroups, please crosspost instead of
multiposting.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Closed Thread