Ivan, I am sorry to ask, but are you a programmer? Have you worked with PHP before this projekt of yours?
Your error message very clearly states that you have an undefined variable! A variable that is undefined due to you not using the same variable name with which you defined it! Please go through your code, find all the places where you are using the variable which is undefined, and compare each variable name with what you expect! When you find the error (which PHP already tells you is in line 5) then correct it and try again. Best wishes, John On Apr 15, 4:29 pm, ivan <[email protected]> wrote: > <?php > App::import('Core', 'HttpSocket'); > $HttpSocket = new HttpSocket(); > $results = $HttpSocket->get('http://localhost/alkitab/ > pencarian_kata_kitabs/120515'); > echo $result; > ?> > > and error: > Undefined variable: result [APP\views\pencarian_kata_kitabs\show.ctp, > line 5] Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en To unsubscribe, reply using "remove me" as the subject.
