Questions tagged as 'php'

2
answers

add hours type time

I have a variable that is 18:00:00 bone at 6:00:00 pm and I want to add another 19:30:00 hours so that the resulting variable is 1:30 pm but the next day. To then generate a condition with that new resulting variable: for example that such hour...
asked by 07.09.2018 / 20:37
0
answers

Error in my registry mod_fcgid: stderr PHP 7

I have an error in my log of logs, when I try to upload the images through the Back-end, I do not load the images and it does not upload to the folders that are addressed in the php 7.1 script and I throw this error "mod_fcgid: stderr thrown in...
asked by 07.09.2018 / 18:44
0
answers

how to compare dates and times with php

I want to buy the dates and times for example: invoices received from 8:30 a.m. to 1:30 p.m. which are "on time" if delivered until 6:00 p.m., on the same day, but are "out of time". <?php include('conexion.php'); $query=mysql_query("SELECT...
asked by 05.09.2018 / 18:20
0
answers

Broadcasting / Broadcasters / PusherBroadcaster.php "," line ": 116

I'm doing a private chat with laravel pusher and vue 2. The issue is that when I use the helper broadcast () it gives me a connection error and I have all the data correctly entered in the .env file. I also have the providers and with Echo la...
asked by 05.09.2018 / 21:25
0
answers

Read a database to determine if, insert data or not

I have inserted the data of a directory that I already visited, but if I want to go through the same directory with different files inside, I do not want the files that were already read and stored to be stored in the database again. Any idea...
asked by 05.09.2018 / 18:42
0
answers

PDO query changing table

I need the following query made to a mysql database with the php function "PDO" allow me to send the name of the table from URL parameter and that in turn returns all the data in the table in JSON format consulted with the webservice through a b...
asked by 05.09.2018 / 21:00
1
answer

Add the potions returned by a for

Hi, I would like to add the potions returned by the for, it is not with count () if (isset($_SESSION['carrito'])){ $datos = $_SESSION['carrito']; for ($i=0; $i<count($datos); $i++) {...
asked by 07.09.2018 / 17:22
1
answer

Problems in update laravel

Friends I have problems updating a Laravel record when I select everything from the Subseries brings me the subtle array:2 [▼ 0 => array:19 [▼ "id" => 1 "serie_id" => 1 "nombreSubSeries" => "Planes de Negocio" "co...
asked by 06.09.2018 / 15:19
0
answers

Bring name of my files from a folder

I have a problem, I try to bring the names of the files that I have in a folder but not that it is, I have the following code and it pulls but I am accessing 'C:' but what I need is I want to bring the files that I have in my assets that would...
asked by 05.09.2018 / 18:01
1
answer

Because it does not show all the div that contains image when loading the page

I am currently making a code on a page (example.php) which I login logeandome. the point is that when I load the page I get the image above, but not the image below ... something like this: this is the image above and here below shou...
asked by 05.09.2018 / 17:28