On Tuesday, 27 March 2012 03:35:58 UTC+2, rockbust wrote:
>
>
> I still cant figure it out???
Your code has quite a few odd bits in it.
1) Why do
$track_array = explode("/",$this->params['url']['url'])
Instead of
function open_track( $meaningful, $names) {
Routes are there to be used
2) why do
$check = 'true';
instead of
$check = true;
I'm not sure what the loop is for, or what $check means - code should be
readable.
3) why do
if($check != 'true'){
instead of
if(!$check){
unclear why check is a string or what it in fact means.
Finally) If it doesn't work as you expect when you call it several times,
what is it you're expecting it to do AND what is it actually doing?
AD
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php