Posts by Tiago Gouvêa • 141 points
6 posts
-
0
votes2
answers862
viewsA: Laravel: Syntax error or access Violation: 1071 Specified key was Too long
Another way to solve is to add the index name in the second parameter: $table->string('seu_campo')->unique(null,'chave');
-
0
votes1
answer598
viewsA: Search last firebase record and incrementing in new record
Change: refFirebase.orderByChild("code").on('child_added', function(snapshot) { callback(snapshot); }); For: refFirebase.orderByChild("code").on('child_added', function(snapshot) {…
-
0
votes2
answers1965
viewsA: get mysql data using javascript and ajax
Friend, in your query in the database you do not have the said MVA field. In its interface also has no mva element. $('#mva') will always be null. Therefore, I do not see how to function as you…
-
1
votes1
answer121
viewsA: How to get customer positioning on the map?
Yes, it is possible to display customers on a map, at the exact location, in several different ways. What is not clear is if you have the latitude and longitude data of your customers or not. If you…
-
1
votes2
answers1885
viewsA: Website images do not appear on iphone or iOS tablet
The reason they don’t appear is that the file that should be a src image (a jpg,png, gif or something like that) is a . php (Thumb.php). The device browser does not "accept" loading a php as an…
-
1
votes3
answers210
viewsA: HTML tags with Regex
How about var conteudo = document.getElementsByClassName('teste')[0].InnetHtml; It will return all content within the test div.. only within it. Ha! In Html5 there are no regular expressions.…