![]() |
Missing letter in php-script - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: Developer Discussions (http://get-simple.info/forums/forumdisplay.php?fid=8) +--- Thread: Missing letter in php-script (/showthread.php?tid=436) |
Missing letter in php-script - kirillaristov - 2010-02-26 GetSimple v2.0; admin/components.php, line 55: I should think so, its right part of code: Code: $ct = 0; $coArray = array(); before: Code: $coArray[$ct]['id'] = $id[$ct]; Missing letter in php-script - ccagle8 - 2010-02-26 im not seeing it... Missing letter in php-script - kirillaristov - 2010-03-24 You not fixed it in 2.01! Turn ON debug mode and you will see many errors in admin/component.php line 55 Missing letter in php-script - sal - 2010-03-24 OP, that should be $id[$ct] NOT $ids[$ct], see relevant code below. Code: foreach ($ids as $id) Missing letter in php-script - n00dles101 - 2010-03-24 sal, original script is correct. $ids is the array, $id is the value of the specific array item we are looping through. See foreach staement Code: foreach ($ids as $id) Regards, Mike. Missing letter in php-script - sal - 2010-03-24 I know, I was correcting OP. Missing letter in php-script - n00dles101 - 2010-03-24 aaah, now I see it.. Sorry about that.. ![]() Looks like $coArray[$ct]['id'] isn't used anyway so doesn't make a difference, I'll fix it in the svn. Thanks, Mike. Missing letter in php-script - ccagle8 - 2010-03-25 thanks Mike and kirillaristov! |