Questions tagged as 'php'

2
answers

Error: Unknown Content-Encoding- PHP consuming WSDL with SoapClient

I have this problem when trying to consume a web service wsdl:    Unknown Content-Encoding I have tried compressing it in GZIP by sending it the charset, but at the moment of executing it, it gives me this error. The code in php for th...
asked by 15.02.2016 / 20:20
1
answer

Limit to x number of entries when exported with DATATABLES.JS

That, someone knows how I can limit the number of data to export when I use the tableTools library, let's say that if I use 100 entries I only copy or export those 100 entries, since when I copy or export I usually copy more than 500 records fro...
asked by 15.06.2016 / 16:43
1
answer

How do you add a shortcut from a web to the home screen automatically? [closed]

Sorry for the Spanish, I want to make a button on my website give the order to the android browser, which creates a direct access to the WEB page, but does it automatically so that the user does not have to do anything else but, press the button...
asked by 08.06.2016 / 21:11
2
answers

No results using jQuery autocomplete and MySQL

The autocomplete of this code should show me the articles I have in a database of MySql , but every time something is written inside the text box it shows me no search result . I already verified that the connection data are corre...
asked by 08.06.2016 / 03:05
1
answer

Export Mysql Data with php

Greetings, I'm trying to export mysql data to an EXCEL using php, The problem I have is that when I try to export the data is not exported, that is, it shows the data on the screen again, but it does not give me the window to export .....
asked by 11.09.2016 / 09:57
1
answer

Laravel Missing required parameters for [Route: pharmacy-detail] [URI: pharmacy / {slug}]

I get this error when trying to call a route <a href="{{ route('farmacia-detail', $medicamento->slug) }}" class="btn btn-primary">Detalle</a> cuando el llamado a ella en: @foreach ($medicamentos as $medicamento)...
asked by 30.12.2018 / 20:42
2
answers

JSON invalidated when it comes to query php mysql, but it works when it is called json format

After reading hundreds of similar problems and unable to find the solution to the problem, I ask the following. I have a php file where the data is listed by datatables , which come by ajax from another php file. The problem is that when I w...
asked by 04.01.2019 / 03:32
1
answer

Yii2: JsonParse does not work by default

The point is that when accessing my controller Entrenamiento through the browser (URL), it returns XML format unless you specify in the request Content-type: application/json . According to the documentation this should work by defa...
asked by 05.12.2015 / 19:35
2
answers

The variable does not arrive by POST to PHP through AJAX

I have the following script which sends a variable taken from an input, makes a query and returns the fields of that query to then perform more actions, here the AJAX $(document).ready(function (){ $("#boton_comprobar_producto").click(functi...
asked by 04.01.2019 / 04:31
1
answer

Sum of two jquery values using foreach in php

I am stuck with a problem that I have not been able to solve, I am using a form and in the view I have a foreach running through an array. The problem I have is that I need to return the total of the sum between the value-a and value-b and the r...
asked by 05.01.2019 / 03:33