Posts by Lucas L • 123 points
6 posts
-
1
votes1
answer457
viewsQ: Syntax error php
I downloaded a simple help desk system, but this returning me the following error after login: Parse error: syntax error, unexpected '}' in C:\wamp\www\helpdesk\login.php on line 48 login.php <?…
-
4
votes0
answers571
viewsQ: How to call a function in Cakephp 3.x
I have a view add which is an open form called help desk (referring to function add, of course), and I have this function upload which is to attach file to request, which is linked with a Component,…
-
3
votes1
answer774
viewsQ: Upload file with Cakephp
Regarding the upload file, I have the following codes so far: Controller: public function initialize() { parent::initialize(); $this - > loadComponent('Upload'); } public function upload() { if…
-
0
votes0
answers1146
viewsQ: How to create a column in a table from a Select
I have the table users and the table posts, need to copy the same information from a column of table users to a column of table posts, for example I have this code: SELECT posts.*, users.username…
-
0
votes2
answers1278
viewsA: Select with Inner Join with Cakephp
If someone needs the resolution, you can do it by adding this code to the Postscontroller. public function index() { $posts = $this->Posts->find('all', [ 'conditions' => ['Posts.online !='…
-
3
votes2
answers1278
viewsQ: Select with Inner Join with Cakephp
I have a little problem for some time regarding a project that I am developing in cakephp, mine view can’t read a select with Inner Join table. Controller: public function initialize() { $posts =…