Questions tagged as 'php'

1
answer

Magento 2 does not load the styles in "developer" mode

I have a store with Magento 2 on a server with Ubuntu 16.04 + PHP 7.0 and I do not know why when I activate the developer mode running: php bin/magento deploy:mode:set developer I do not load styles or JS and when I change mode executing th...
asked by 14.09.2017 / 22:35
1
answer

Message: Undefined variable

I get the following error message and I have not been able to solve it. A PHP Error was encountered Severity: Notice Message: Undefined variable: students Filename: views/vEstudiante.php Line Number: 85 Backtrace: File: C:\xampp\htdocs\st...
asked by 13.09.2017 / 22:37
2
answers

Laravel | Id generated automatically

I am doing a news system and I want my url in the following way: http://web.com/noticias/{id_generado}/ The {id_generado} is an id that I generate using the str_random(10) function. The problem of the matter is: What happen...
asked by 07.09.2017 / 23:00
0
answers

How can I implement three recaptcha on an index.php page?

I am having problems when loading three recaptcha in the same file index.blade.php where there are three different forms, these in turn require validation with recaptcha, but it happens that when loading the first one the next two stop work....
asked by 08.09.2017 / 14:48
1
answer

Create binary trees in PHP

Someone knows how to make a binary tree in php, which allows to insert and delete nodes, I am new in this of the programming, if someone could show me an example I would appreciate it.     
asked by 24.03.2018 / 18:01
1
answer

Hide data from a table

Good day, as I do so that when I open the next program and at the time of doing any search, I do not get the data that I have stored in the table I have in mysql. This is the program: This is the code of that program: This part creates...
asked by 24.03.2018 / 19:16
0
answers

watermark with library tcpdf

I need to add a watermark to a pdf generated with tcpdf someone knows how to do it or has some basic example, help please, I have this example but I need that after the text I put an image as a watermark require_once('tcpdf/config/lang/eng....
asked by 24.03.2018 / 16:57
1
answer

How to change the contents of some tables when selecting options in multistate / table

My question is the following, I have a code where I load the names of a database in a drop-down: <div class="pure-u-4-5"> <div class="pure-control-group"> <label id="idtype" for="multi-state">Type</label> <?php sele...
asked by 28.08.2017 / 07:15
2
answers

SQL Joins, select data from different tables

I'm having problems selecting data from different tables, I explain. I have three tables and I occupy certain data of each of them: usuarios AS u u.id u.usuario proyecto_emp AS p p.id_proyecto p.us_id p.rol roles AS r r.id r.rol...
asked by 28.08.2017 / 21:53
1
answer

Many-to-many relationship in laravel 5.4

I am doing the assignment of Teachers - Degrees, that is to say I have a Teaching model and a Grade model and their relationship is of many to many so when it comes to making the migration creates a pivot teacher_graduate table. According to I u...
asked by 25.08.2017 / 02:11