Posts by Downbeat • 79 points
7 posts
- 
		-1 votes1 answer327 viewsA: Cakephp 3 - Model relationship problemAnd I sent the following code, from one of the results of the foreach loop: object(App\Model\Entity\WorksImage) { 'new' => false, 'accessible' => [ 'photo' => true, 'photo_dir' => true,… 
- 
		-1 votes1 answer327 viewsQ: Cakephp 3 - Model relationship problemMy problem is basically this: I’ve linked 2 models to the official Cakephp 3 documentation and I can’t return one of them in the view (now Template in Cake 3). The Code: Work - Entity namespace… 
- 
		2 votes1 answer414 viewsQ: Installation of Laravel 4 on remote serverHow to install Laravel 4 on a remote server via Composer? I searched extensively on the internet and found no convincing response that was in line with best practices or the philosophy of the… 
- 
		1 votes1 answer1195 viewsQ: Codeigniter: retrieve values from the out-of-loop arrayI’m having a problem storing the array values in the code below: public function get_submenu() { $query = $this->db->get_where('categories', array('category_id_parent' => 0)); foreach… 
- 
		1 votes2 answers1790 viewsQ: Dynamic menu in CodeigniterI’m trying to build a dynamic menu with submenus that insert links from the database. I wrote the code below directly in my view to test and it worked perfectly: <?php… 
- 
		1 votes2 answers526 viewsA: Recover string in database in a dynamic form_dropdownI discovered the problem that was located on this line: $option[$category->categoryID] = $category->categoryTitle; Which I corrected by swapping for: $option[$category->categoryTitle] =… 
- 
		3 votes2 answers526 viewsQ: Recover string in database in a dynamic form_dropdownI am trying to retrieve from the database a string in a field dropdown of a form on a page of update, my view goes below. $option = array(NULL => 'Selecione uma categoria'); foreach…