Re: put code into a function then the code dead,very strange.

From: Date: Tue, 02 Aug 2011 10:29:13 +0000
Subject: Re: put code into a function then the code dead,very strange.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-314270@lists.php.net to get a copy of this message
On 2/08/2011, at 10:24 PM, Sharl.Jimh.Tsin wrote: > hi,everyone > it is a very strange problem,At first,i put my code into the method > inner,it works.see below: > > [snip] > > As you can see,it seems to be impossible.Can someone tell me WHY? > > -- > Best regards, > Sharl.Jimh.Tsin (From China **Obviously Taiwan INCLUDED**) 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/

« previous php.general (#314270) next »