Questions tagged as 'php'

2
answers

Do not call the function

I intend to do a record deletion from a table with php and javascript, but when calling the function that the Delete does, it does not do anything. With this code I call the function <?php if (isset($_POST["delete-contrato-select"])) {...
asked by 22.10.2018 / 15:16
1
answer

how to get the percentage of a quantity in php

I want to take the percentage of two numbers that I store in two variables, the first variable is my delivery counter on time and the second is my delivery counter out of time, the sum is done correctly but I do not know how to get the percentag...
asked by 14.09.2018 / 15:18
0
answers

HTML2PDF does not load certain images

I have a problem in several domains. Through ckeditor and elfinder I select an image to generate a pdf. The problem is that I have the same code in several websites and in some it works and in others it does not. The error is as follows:    F...
asked by 18.09.2018 / 15:31
0
answers

PHP exec returns "incorrect rpcuser or rpcpassword"

I am trying to integrate a new crypto currency into an exchange, using "chaucha-cli", but when executing the command that creates the address, from PHP with the exec command, it throws me the following:    incorrect rpcuser or rpcpassword...
asked by 07.09.2018 / 18:37
0
answers

Are there differences between a linux / windows environment to program php + mysql? [closed]

I have a program that is in PHP installed in LINUX and I have to add some new things. I did not do it and I want to mount it in a testing environment on windows. With Xampp I raised the Apache server and MySql (I had some problems connecting...
asked by 09.09.2018 / 16:51
1
answer

Validate a DNI - NIF in PHP

Continuing with the registration of clients, I have to validate if the DNI or NIF exists, and I would like to know if it can be verified if the DNI or NIF is correct. I would also like the fact that in the input I put a mask with the fields that...
asked by 07.09.2018 / 10:06
1
answer

AJAX with IF ELSE in response

Good I am using an AJAX so that the clients register in the web and now I have added a query to him to know if this user already has been registered, step to detail how or I am doing: AJAX <script> $(function(){...
asked by 07.09.2018 / 08:12
1
answer

Auth :: id () using ajax returns null Laravel 5.5

It happens that I am showing a content in a datatable and making the relevant settings so that only the content of the logged in user is shown to me, so I use a method in my controller that returns the records associated to the user that is logg...
asked by 06.09.2018 / 13:27
1
answer

Show and hide a div according to the value in a textbox?

My problem is the following I select a value in a combobox and it fills a textbox all right up there, but when I want to use the value of the textbox to hide a div I can not, could you help me this is my code: <!DOCTYPE html PUBLIC...
asked by 10.09.2018 / 17:37
1
answer

Problem when inserting data with ajax

My problem in itself is not inserting data, given that these are done successfully, the problem is that when you insert a data, it is repeated 2.3 or even 4 times in the database, another thing is that when entering the page and doing it for the...
asked by 10.09.2018 / 15:44