Questions tagged as 'php'

2
answers

Help with migrations in Laravel 5.5

When I perform the classic migration to start my BD in PHPMyadmin I get these errors, but to all this it generates the 2 tables by default but other tables no longer accept me ... Someone can help me please is urgent    c: \ xampp \ htdocs \...
asked by 27.04.2018 / 05:42
2
answers

Display data from two mysql tables in php

I want to show data from two tables from the same database on the same PHP page. One table is called "departures" and the other is called "dpartidos2". Now, I want to show a data that is called "match3" that is in "split2" My code:...
asked by 27.06.2018 / 23:06
1
answer

There is a cron in laravel

I would like to know if laravel has a library to perform tasks (in my case sending emails) every N amount of time?     
asked by 13.12.2016 / 01:20
1
answer

Problems uploading files in Laravel 5.5 project in a hosting

I am uploading a Laravel 5.5 project to the free 000webhost hosting. A user can upload images to a post, when I try it on the computer without uploading it to a hosting it works perfectly. The image is uploaded to the public / image folder of th...
asked by 12.04.2018 / 03:26
1
answer

Error obtaining properties of a [duplicate] object

I'm starting in the world of POO with PHP. When accessing the properties of the object Persona through a getter, its corresponding value does not appear. The class code is as follows: <?php class Persona{ public $nom...
asked by 29.08.2017 / 12:46
1
answer

how do I fix this error "Notice: Trying to get property of non-object"

   Notice: Trying to get property of non-object in   C: \ xampp \ htdocs \ fairs-master \ fairs.php on line 84 <?php $rsFeriasMarcada = mysqli_query($link, "SELECT * FROM tab_ferias WHER...
asked by 28.08.2017 / 01:19
2
answers

Search records by criterion shows nothing

I do this query in PHP / MySQL and I want the records to be sorted by the nom field but it shows nothing. $stm = $BD->prepare("SELECT a.cod, a.nom, b.id_pago, c.planilla FROM sc_personal a, sc_condicion b, sc_planilla c WHERE a.id_condic...
asked by 05.09.2017 / 00:11
2
answers

Obtain specific result within an array

I want to get the id found within this array : Array ( [count] => 386 [items] => Array ( [0] => Array ( [id] => 293259195 [first_name] => Ana [last_name] => Nidegger ) [1] => Array ( [id] => 320180374 [fi...
asked by 16.10.2018 / 11:40
2
answers

Display tables on a grid

How about friends I have a restaurant system that I currently have working but I want to improve it in the aspect of placing the tables in a graphical way and not in the form of a list, since I currently display the tables in a list by means of...
asked by 23.10.2018 / 18:49
3
answers

Use of single and double quotes within an echo

I would like to know how I can do this correctly: echo "<div class='table-row nocomp' id='t1' onclick='getTask1('t1','https://asd.com',5);'>" The problem, as you can see, is here: 't1','https://asd.com',5 where I'm using single...
asked by 23.10.2018 / 19:07