Re: put code into a function then the code dead,very strange.
| From: | Sharl.Jimh.Tsin | Date: | Tue, 02 Aug 2011 12:24:52 +0000 |
| Subject: | Re: put code into a function then the code dead,very strange. | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-314271@lists.php.net to get a copy of this message | ||
在 2011-08-02二的 22:29 +1200,Simon J Welsh写道:
> You're using $motoCols in your function, but have not defined it or passed it as an
> argument.
> ---
> Simon Welsh
> Admin of http://simon.geek.nz/
>
YES,thanks for taking me out.and i just have a question that the variety
$motoCols has been defined with the function "processJSONtoSQL" together
in the common.php which is imported into the main page at head.
so WHY $motoCols can not be reachable by the function in one page?
--
Best regards,
Sharl.Jimh.Tsin (From China **Obviously Taiwan INCLUDED**)
Using Gmail? Please read this important notice:
http://www.fsf.org/campaigns/jstrap/gmail?10073.