function inner other

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • nawfer

    function inner other

    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

    #2
    Re: function inner other

    nawfer wrote:
    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@attgl obal.net
    =============== ===

    Comment

    Working...