Questions tagged as 'php'

3
answers

Why does not my app made in laravel 5.4 generate the pdf with barryvdh / laravel-dompdf 8.0?

I just have this problem. I install the package correctly and all right up there, but I try to generate the pdf with barryvdh / laravel-dompdf , but all my attempts have been unsuccessful. My ajax: $.ajax({ type: 'post',...
asked by 22.06.2017 / 17:41
3
answers

Connect with the web service of SII AEAT (soap PHP)

First of all, a greeting to all those interested in this question. I begin with the explanation of the problem: After trying to establish the connection with the web service of AEAT for the management of the xml files I have found a good ston...
asked by 09.06.2017 / 12:54
2
answers

Header: location - Does not work

Perform a project that required the pages to have .php extension My problem is that when the page must redirect with the label: header("nuevapgina.php"); , it simply remains blank, and in the project I use it in 3 different occas...
asked by 05.03.2018 / 17:28
1
answer

Copy to clipboard with delay

I use this code to copy the clipboard: <script type="text/javascript"> function copiarAlPortapapeles("p1") { var aux = document.createElement("input"); aux.setAttribute("value", document.getElementById("p1").inn...
asked by 30.08.2016 / 10:00
3
answers

How to register data in a database by clicking on a HREF?

I have this PHP code that lets me know if I have registered friends (when I enter their profile, there is the button that says ADD), if the user is my friend it says AGGREGATED.very good. But I would like you to help me When I press the button (...
asked by 25.09.2016 / 20:35
2
answers

Conditional on PHP

I have the following code in HTML and PHP. I can not find the error in the PHP code, because it does not read the expressions and does not throw the result at me. I'm really new to programming. $( document ).ready(function()...
asked by 28.09.2016 / 02:36
1
answer

Why do not relations work for me in Laravel 5.4.2?

Hello friends, my problem is the following, for some days now I have been planning the relations of the game that I am doing with PHP using Laravel 5.4 and the following problem arises when creating users: I have two Tables: users and charact...
asked by 14.08.2017 / 17:23
2
answers

How to insert data from a table by selecting data from another mysql table

I have the following code: if($_POST['id']=="id") { $nomb_idm=$_POST['nombre']; $n_idm=$_POST['id']; $nivel_ide=$_POST['nivel']; $pass_ide=$_POST['pass']; $correo_idm= $_POST['correo']; $usuario_ide= $_POST['usuario']; $idfto=$_POST['id...
asked by 11.08.2017 / 01:50
3
answers

How to add the values of a multidimensional array in PHP

I would like to know if I have this array in PHP array (size=5) 94 => array (size=4) 0 => string '7' (length=1) 1 => string '7' (length=1) 2 => string '7' (length=1) 3 => string '7' (length=1) 95...
asked by 04.08.2017 / 21:38
1
answer

how to go through the next arrangement? in php

Array ( [0] => Array ( [0] => Array ( [estatus] => ok [mensaje] => Mensaje enviado [referencia] => 2017081504081721546 [numcelular] =>...
asked by 15.08.2017 / 23:07