Questions tagged as 'php'

2
answers

Laravel + Vue.js does not pass variables to component

I am working on this project with Laravel and Vue.js . I need to show a table with a lot information. For this I decided to use a Vue component that renders a table and the paging buttons with little information. This works very well in...
asked by 02.03.2018 / 21:06
1
answer

Uncaught exception 'JonnyW \ PhantomJs \ Exception \ InvalidExecutableException' in CentOS 6.7?

I'm trying to use php-phantomjs , install it using composer: ($ composer require "jonnyw/php-phantomjs:4.*") The installation was successful but when I try to use it, with the basic example that comes in the page of: jonnnnyw I'm...
asked by 01.03.2018 / 00:10
1
answer

Do not insert the fields in Mysql from PHP

1 Hi, I have a problem inserting data from php to mysql. I create the connection and insert it, I do not know if it is the database. I'm working with WAMP.     
asked by 01.03.2018 / 21:25
2
answers

Pivot table values with laravel

I am using laravel 5.5, I have a Member model and a Team model, I made the belongsToMany relationship correctly. The problem is that in the pivot table of that relationship there are several data that I need to access, for example the fields sea...
asked by 05.03.2018 / 00:58
0
answers

Delete datetime records from a user table

I'm making a web application that takes data from a fingerprint reader. I import all the records to the BD of xampp and up there everything is fine. When I want to evaluate the assists I find that there are 2 entries. For example one is:...
asked by 05.03.2018 / 19:54
1
answer

I can not list my BD records

I am starting to use the FPDF library and I need to generate a PDF document with the records of my "winners" table. So far I was able to generate the PDF document but I could not list the records of my table, I would appreciate any help. I kn...
asked by 09.03.2018 / 00:30
0
answers

data call [closed]

to see good morning, a doubt that I do not know because I get it. I have created a dashboard to host the news that I will use on a website but I have a problem, I copy the text in the textarea and I save it with spaces (as I need it) but my prob...
asked by 06.03.2018 / 09:07
1
answer

Problem with Ajax + PHP - Attempt to make a Form

I'm trying to create a form that works with Ajax and Php, but I still have not been able to do it because I'm making a mistake and I do not know which. I leave here the code so you can help me. The idea of the page is that where is the input...
asked by 08.03.2018 / 22:17
2
answers

ORDER BY RAND in records

Does anyone know how to use the order by rand? to show random records of a table. Could you show me any example? SELECT nombre, precio FROM productos ORDER BY RAND() LIMIT 0,10     
asked by 17.04.2018 / 23:19
1
answer

How to generate an array with values without these being inside an index subarray 0 in PHP?

With this code: $template["letras"][] = $letras; $template["animales"][] = $animales; $template = array( "letras" => array("a"=>1, "b"=>2, "c"=>3), //sin comillas al cierre "animales" => array("leon"=>1, "vaca"=>2...
asked by 19.03.2018 / 14:39