Questions tagged as 'php'

1
answer

How to test sending a JSON using Web Service by POST in php?

It turns out that I have the following method where I receive a JSON and get the values of its items by sending to save to the fields of a database Method that receives JSON <?php require 'meta.php'; if ($_SERVER['REQUEST_METHOD'...
asked by 11.10.2017 / 04:41
1
answer

ERROR: Type: ArgumentCountError, Too few arguments to function

It happens that I am showing some data from my Database through some Foreach, in which I am using echo to show the value of each field that I require. So far I have used in my query sql, in the WHERE condition any value that throws a result to s...
asked by 10.10.2017 / 21:00
1
answer

How to join 2 Json in 1

Hi, I have a php file that generates this: ["1", "Raul", "Martinez", "Perez", "8.2", "0", "masculine", "34", "spring 21"] ["65", "My Current Location", "5 Naucalpan Street", "19.4694766998291", "-99.23297119140625", "19.4689194", "- 99.224...
asked by 10.10.2017 / 18:57
1
answer

problem php opening tags

Hi folks, I'm working with php (version 5.6.22-4) on the osgeolive platform (version 10.5) and I'm having problems with php opening tags. if I put <?php I get this on the web if I put <? I get this I attach the P...
asked by 11.10.2017 / 13:16
1
answer

Help with the update in mysql

I have a code in php and mysql to edit a ticket but when I edit it with the new values it tells me the message as if it had been inserted but it does not enter the database the ajax code to edit <?php include('is_logged.php'); if (empty(...
asked by 04.10.2017 / 15:13
1
answer

Search answer with a line minus

Using practically the same php, except for the search part, returns the complete list, when I add the search part, one is always missing, usually the 1st of the list. Id pac Last Name DNI 1 Alvarez Gomez Alvaro 80100105 2 Bernardez Alvarez...
asked by 04.10.2017 / 00:18
2
answers

Error Fetching http headers in soap php

I have a WS where I try to consume another WS in the following way: $parametros=array($valores["subdependencia"],$valores['usuario'],$valores['origen'],$valores["cveProveedor"],$valores["numOC"],$valores["rfcProveedor"],(($valores['usuario']==...
asked by 03.10.2017 / 16:50
1
answer

Receive IDP parameters in SP with PHP

I have configured an SP server with Shibboleth and Apache, the communication with the IDP is correct, but I do not receive any data in PHP after login. I look for the variables $ _GET, $ _POST, $ _COOKIE, $ _SESSION, and $ _SERVER, but I can...
asked by 10.10.2017 / 09:20
1
answer

The data is not saved when it is sent

Greetings to all, I have this form that sends data without leaving to another page, but when doing it with ajax, the other page does not receive the data,  specifically in the client form. here my code. function openCity(evt, cityName) {...
asked by 09.10.2017 / 21:51
1
answer

Why is not the selected data kept when clicking search?

I have a search engine in which I have a select called personas . I would like to keep the data of select when I click on the "Search" button Why is not it kept and number 2 always comes out? I guess it's because of...
asked by 03.01.2018 / 19:46