I have a problem fetching data from 2 tables, both of which are associated.
When I go into the browser and put the controller and then the method, it appears to me with this Array() message. Could someone tell me what the problem with m...
My scenario is as follows:
/ media / data / svr / mysql
Where is my mysql datadir folder located.
The development environment is running in vagrant (debian 6), with php 53 and mysql 5.5
I configured the VM to access the datadir folder...
I'm developing a web application with ExtJS 4 and PHP. I'm having trouble making INSERT in the database. For example, I registered the product "tea", but it saves "chu00e1". My entire database is in UTF-8, my PHP files are in UTF-8 header...
I have the following problem, first the configuration of my PC.
SO: Fedora 20
PHP 5.5
Oracle Instant Client: 11.2.0.4.0
I try to connect via tnsnames.ora file settings and the following error occurs
ORA-12169: TNS:Net s...
I need to use Custom Post Types and learned how to in this article .
However, this article does not teach you how to insert Custom Post Types into Pages and how to leave <textarea> in Wysiwyg format.
What I need:
Leave it t...
I'm working on a real estate project and I have add , edit and delete , everything is normal. In real estate I have the cidade and bairro tables, which when I register are two <option> , but when I go...
I have a method where a BEGIN TRANSACTION is started in Zend 1.12. As it is used in many places, it has occurred that a method that calls it already starts a BEGIN TRANSACTION , thus generating Exception .
I want to check b...
I started working with Kohana yesterday and there was a problem here.
My default Controller is the "page" and the action is "home". On the "page" controller I have these functions here to set up the layout:
class Controller_Page extends Con...
How do if of the controller return TRUE or FALSE according to check() of Validator?
Currently it returns Boolean for validate(); , but I wanted it to continue until the end of the code, to then return the Boo...
I have 3 related tables: Usuario , Movimentacao and Grupo
I'm using:
$usuarios = $this->Usuario->find('all',array(
'recursive' => 1,
'fields' => "Usuario.id, Usuario.nome, Usuario.email"
'order' =...