Top "Cakephp" questions

CakePHP is an open-source web, rapid development framework for PHP that provides an extensible architecture for developing, maintaining, and deploying applications.

Using DISTINCT in a CakePHP find function

I am writing a CakePHP 1.2 app. I have a list of people that I want the user to be able …

cakephp find distinct cakephp-1.2
What is the best way to create global variables in CakePHP?

I'd like to create a global variable in CakePHP. If I define something in in my app_controller.php like …

cakephp
Order by field in cakephp

I am doing project in cakephp . I want to write below query in cakephp Style. I've written 50% . Please help me $…

php cakephp sql-order-by
Cakephp check if record exists

I am wondering, is there a function that allows me to check instantly if a record in the database exists? …

php cakephp
CakePHP 2.0 - How to make custom error pages?

I read that the AppError class is now for backwards compatibility and that Exceptions should be used instead. How does …

php cakephp http-status-code-404 cakephp-2.0
Get and post in cakephp

In Codeigniter I do this $p=$this->input->post(); to get all objects posted but I don't know …

php cakephp cakephp-1.3 cakephp-2.0
htmlspecialchars(): Invalid multibyte sequence in argument

I am getting this error in my local site. Warning (2): htmlspecialchars(): Invalid multibyte sequence in argument in [/var/www/html/…

php cakephp warnings htmlspecialchars
php e() and h() functions?

I and lately I'm seeing h() and e() functions in PHP. I have googled them, but they are so short …

php cakephp
Custom Submit button

How can I create submit button, and define custom title on it, together with custom class style?

cakephp forms button submit
How to write HTML tag in CakePHP "link"

I am using the CakePHP 2.2 and need to write following code - <a data-original-title=" Edit " data-placement="left" rel="tooltip" …

cakephp