How Can I Call Own Helper Function in External PHP File

2015-10-14 Thread Lakshmana Katragadda
External PHP file was in Web-root. i created one own helper class .now i want call that function from PHP file Code: $ReviewCount=$this->Search->getReviewsCount(); echo $ReviewCount it was working view file but its showing error in External php file Fatal error: Using $this when not in

get Data from db in index.php

2015-09-22 Thread Lakshmana Katragadda
hi guys i am new to CakePHP.how to get data from db to select box in index.php . and where should i place index.php webroot or src/views plz help me. becoz new to cake php -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP ---