Questions tagged as 'php'

2
answers

Create temporary accesses in laravel 5.4

I am developing an application where a tutor can create temporary credentials so that the students assigned to them can enter to perform a test, the test table has the following attributes: id, nick,password, status, student_id I ha...
asked by 29.03.2017 / 03:59
0
answers

How to sort alphabetically raw grocery

As I can alphabetically sort a field by name alphabetically, the problem is that the data is saved in uppercase, lowercase, uppercase and lowercase, and when I call the table with grocery crud , Well, it turns out he does not order me for...
asked by 28.03.2017 / 21:02
0
answers

error 500 setTemplate symfony 1.4

I'm maintaining an app made in symfony 1.4, I was correcting several things, including: I have a local login that is ok, but in prod I get error 500, the url is register / sendContrast Working on localhost, I get a message if it was suc...
asked by 03.04.2017 / 15:27
3
answers

2 actions for the same sentence a

Does anyone know how to place this code correctly? I'm following one of the forum that I found but it always tells me: SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens <a href="index2...
asked by 04.04.2017 / 15:33
3
answers

Error in bringing BD information to the date and putting it into an input

My question is directed to the following: I need to bring the date that I have in the records and modify it and save the new date, but when I want to bring the date it says it is false, try with a statement in sql but it marks me error in the st...
asked by 31.03.2017 / 15:29
1
answer

I receive Malformed access_token: null in API MercadoPago

This is the code I am using (made from example provided on the web of mercadopago ): require_once ( 'mercadopago.php'); $mp = new MP('xxxxxxxxxxx', 'xxxxxxxxxxxxxxxxxxxxxxxxxx'); $params = array( "dimensions" => "30x30x30,500", "z...
asked by 31.03.2017 / 16:29
1
answer

Doctrine MongoDB

I'm trying to install the Doctrine ODM for MongoDB through Composer and I get the very famous error that I'm missing the mongo extension for php    Problem 1       - Installation request for doctrine / mongodb 1.4.0 - > satisfiable by d...
asked by 14.03.2017 / 20:23
1
answer

How can I update data from a multiple input select

I have a problem (I do not know how to do an UPDATE) when it comes to updating the student's file since it only changes the name and image of the student, and what I want to do is add or remove the courses in which it is enrolled from a multiple...
asked by 18.03.2017 / 22:36
0
answers

Create in the same view (with iframe) a PDF in Codeigniter 3 with FPDF

I am new with Codeigniter and I need to generate a PDF with this library that I use frequently, I have doubts in the generation that I send by AJAX : $.ajax({ url:"<?php echo site_url('lecturas_pdf/')?>", type:"POST",...
asked by 15.03.2017 / 13:51
3
answers

Make a DISTINCT only in one column?

I want to do a DISTINCT but only apply in a column because I consult two things, an ID and an image and I just want you to show me an image of that product. I try to keep it that way. | producto | imagen | |----------|--------------...
asked by 06.08.2017 / 02:36