Questions tagged as 'php'

1
answer

Uploading multiple photos with captions

I have a relationship problem between caption and photo during upload. I'm uploading multiple photos and each photo has a caption. The code looks something like this html <!-- form via post--> <input type="file" id="fotos" name=...
asked by 03.04.2016 / 04:37
1
answer

Questions to implement a webservice

I have a question regarding the implementation of a webservice, see the logic: I have a process that fetches data from multiple users on a system (system A), and I want to get this data and send it to another system (system B), in both cases...
asked by 03.05.2016 / 21:45
1
answer

display products by listed category of database with PHP PDO

I am having difficulty to list products by category, I created only one page and wanted to be dynamic the display of products according to the category listed in the database, but not right and in PDO do not know how do. So I created a va...
asked by 16.11.2015 / 23:37
1
answer

Laravel and Json Web Token

I am having difficulty authenticating through the Json Web Token token (JWT) in the Laravel framework, I have been using the framework recently and have come across the following error. Whoops, looks like something went wrong. 1/1 ErrorEx...
asked by 01.12.2015 / 17:23
1
answer

Webservice returns pro SoapUI, but does not return pro PHP

I am consuming a WebService SOAP and I am encountering the following problem: The WebService has two functions. In PHP, using the SoapClient class, I created the client and consumed the first function without problem. But when I try to use the s...
asked by 24.03.2016 / 13:05
2
answers

How to do in a select html, when clicking select more than one row at a time?

I have a query that brings me the first 3 letters of the name of a month with the last two digits of the year for example: JAN.16 in my combobox it brings me months independent for example: JAN.16 FEV.16 ... and on and on. I wanted the combob...
asked by 08.06.2016 / 17:39
1
answer

Curl php is not working [closed]

I'm using php curl on the server. function getSite($url){ $ch = curl_init(); curl_setopt($ch,CURLOPT_URL,$url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); echo curl_error($ch); $output = curl_exec($ch); curl_close...
asked by 02.07.2016 / 01:56
2
answers

Graph in Bars Char.js

Well folks I have a query of the Bank that returns an array of data. and wanted to put the values to be displayed in the graph in Bars. I tried this but with values coming from vector the graph does not load. while ($estoque = $estoques->...
asked by 22.01.2016 / 13:56
1
answer

List custom post type of several taxonomies

I've used this code: <ul> <?php $args = array( 'post_type' => 'integrante', 'orderby' => 'title', 'order' => 'asc', 'lang' => 'pt', 'tax_query' => array( 'relation'...
asked by 03.02.2016 / 18:01
1
answer

Prevent or remedy?

Lately I've been too worried about preventing code errors. However I had this doubt:    Is it better to check (prevent) or remedy (Ensure existence)? Let's say you have: $var = array( 'name' => 'Guilherme', 'lastName' => '...
asked by 03.02.2016 / 12:10