Posts by Antonio Alexandre • 3,281 points
107 posts
-
0
votes1
answer52
viewsA: accents between php and mysql how to use?
Boy, I also used everything as utf-8 and still had problems with accentuation. The way I found to handle this is to run a query SET NAMES 'utf8' soon after connecting to the bank. I leave it…
-
0
votes2
answers3918
viewsA: SOAP error after changing php from 5.3 to 5.5
Boy, do the following: Modifies the line: $soapClient = new SoapClient("http://jadlog.com.br/JadlogEdiWs/services/ValorFreteBean?wsdl"); To: // options for ssl in php 5.6.5 $opts = array( 'ssl'…
-
0
votes3
answers44020
viewsA: receive ajax json POST in php and return to success
Buddy, I ran your code here and the header tags weren’t really working. When I removed them I started to make a mistake because you were passing json directly and using json_decode, the json_decode…
-
3
votes1
answer71
viewsA: PHP - Get variable values in string
I created an API_KEY to answer your question. :) The json object that the Youtube API sends is big and has a lot of details, if you want to mount an array only with the video ids, you can do the…
-
3
votes1
answer499
viewsA: blank pdf with mpdf
Carol, I don’t know this class mPDF, but see if closing the table at the end if it appears in the pdf. Before the line: $mpdf = new mPDF(); Add: $conteudo_html .='</table>';…
-
3
votes2
answers78
viewsA: Change word displayed by php
Guy doesn’t know much of Wordpress, but the correct way would be you edit it by the administration! However, if you want to PHP the way you proposed, do the following: <p><?php $seutitulo =…
-
0
votes3
answers191
viewsA: How to display the date in the input after the query
<?php include "conexao.php"; $datainicio=''; if(isset($_POST["datainicio"])){ $datainicio = $_POST["datainicio"]; } $datafinal=''; if(isset($_POST["datafinal"])){…