Questions tagged as 'php'

2
answers

Doctrine 2.5 key composite error mapping

Good afternoon I'm doing a project in Symfony 3 in which I use Doctrine 2.5 . In this project I have the following tables: CREATE TABLE companies ( id_company INT NOT NULL AUTO_INCREMENT, id_user INT NOT NULL UNIQUE, name VAR...
asked by 09.11.2016 / 11:09
1
answer

Error loading session (db user) security symfony

I come to explain my problem to you because I do not know what to do anymore ... I've been reading Symfony's official documentation for almost two weeks as others that are not official to try to make a user session system with Symfony . I d...
asked by 11.09.2016 / 10:02
1
answer

Pass the checkbox of a form to a php with date and time picker

I want to pass several checkbox values from one form and visualize ourselves in another php file. I have 3 options: Entry Pass Exit Pass Missing When you select Input Pass and Output Pass I have two variables chk[] that allow m...
asked by 12.09.2016 / 00:24
1
answer

Missed Closure Tags in source code

I started using CodeFormatter in sublimetext3 to sort the code. uses a style called psr2. The issue is that it generates labels of closures for link, meta or br, that normally did not put them. <head> <meta charset="utf-8">...
asked by 05.10.2016 / 03:10
0
answers

Because my stored procedure does not return values to my php

I have a small problem, The execution of my stored procedure from my php does not return values: $op=1; the variable $op contains the number of my procedure the variable $cadena contains the search for the where $S...
asked by 11.08.2016 / 14:45
2
answers

Queries with laravel and eloquent

Good day, I'm starting with laravel and I developed a page to practice. I have these two models: class Personas extends Model{ protected $table = 'persona'; protected $primaryKey = 'id'; public $timestamps = false;...
asked by 03.10.2016 / 08:56
0
answers

dynamic multiple list codeigniter javascript

Currently my page works but with a detail, in my database I have 2 tables for this part one with names of applications and another with names of servers and I am generating a dynamic list of applications and when I choose an element this load in...
asked by 15.08.2016 / 13:16
0
answers

Laravel: Check with WhereBetween

I want to adapt a query I had with a simple Where, using a Where in conjunction with a Between, to make a query with a range between two dates. My code is like this. And I'm aware that the "whereBetween" is not working. $consulta = DB::table('...
asked by 11.08.2016 / 03:19
1
answer

Fail in sql query with or_like

I am creating an application for vehicle control with codeigniter 3.0. The SQL query I do is the following: MODEL private function dataParaProcedimiento($criteria){ $this->db->select( T_PADRON_NOMBRES ." as nombres,"....
asked by 30.08.2016 / 23:56
1
answer

Print Recursive Table - Idparent

I have the following BD: and what I want is to do a questionnaire in the following way: Question 1 Answer 1 Answer 2 Answer 3 Answer 4 Question 2 Answer 1 Answer 2 Answer 3 Answer 4 I'm trying with the f...
asked by 29.08.2016 / 22:34