Posts by Valentim Araújo • 343 points
10 posts
-
2
votes2
answers322
viewsA: Consume webservice of addresses queries of a given city
Whenever I work with API and have to use address queries, I use this api https://viacep.com.br. Now depending on what you want to do, you can do the search of the address at the time using the ZIP/…
-
0
votes0
answers724
viewsQ: Wamp + Laravel 5.1 + Postgresql
Someone already set up Laravel 5.1 to run on Wamp using postgresql database? I have an Laravel installation running on a WAMP server, but when running the "php Artisan migrate" command I get the…
-
3
votes2
answers1318
viewsA: Capture value of H1 and set on another H1 with jquery, with click
Imagining that the two H1 are on the same page, follows below with vc should do using Jquery: function Capture(){ var _text = $('#primeiro_h1').html(); $('#segundo_h1').html(_text); }; <script…
jqueryanswered Valentim Araújo 343 -
4
votes4
answers10243
viewsA: How to align <li> items from a <ul> list below?
Alexander, for vc do this chat vc have to work with PHP type language and database like MYSQL, as they will be responsible for storing and show on the screen the other person’s response. But the…
-
3
votes1
answer1423
viewsQ: Deploy with GIT via FTP
I read several files that it is possible to deploy via FTP using GIT. I tried to follow a few of them but they were unsuccessful. I also know that there are websites that make all this deployment…
-
1
votes1
answer253
viewsA: Mask jQuery does not work on duplicate element - same class, same id
A hint and you change the ID for each new field added... however the problem is not this. You need to apply the mask again for each new field created, that is, every time a new element is created…
-
0
votes2
answers1732
viewsA: Conflict of jQuery
Have you ever tried taking one, testing and then taking the other and testing?? Because what I’m seeing are both the same version. Try this: Take one and see that it stops working, then take the…
-
0
votes3
answers278
viewsA: SQL query in wp_postmeta table
SELECT meta_key,meta_value FROM wp_postpostmeta WHERE meta_key = 'cidade' OR meta_key = 'bairro'
sqlanswered Valentim Araújo 343 -
2
votes3
answers3860
viewsA: How to rescue ID from last record recorded with Mysqli
You can test this too: lastInsertId() http://php.net/manual/en/pdo.lastinsertid.php
-
3
votes2
answers170
viewsA: Check UNIQUE element before inserting it
Ricardo, if you want to do the insertion without doing any kind of validation... type the email is already registered but the data are different or the email is already registered I have to warn the…