Posts by fabionvs • 324 points
18 posts
-
0
votes1
answer47
viewsA: Build Web-based Mobile Application
Good afternoon! Use the Ionic, Phonegap or Nativescript to make your hybrid application. I would recommend using a Webview (Ios or Android) because you already have a web application, but if you…
-
1
votes1
answer1182
views -
0
votes3
answers789
viewsA: Doubt Passing Laravel Array Routes
Dude, you can pass a Json on your route, use the functions json_encode() and json_decode() and good luck!…
-
2
votes1
answer34
viewsA: Get current week’s records
Solution 1: Since it is Mysql, you can use the function YEARWEEK(), just put the date inside the function YEARWEEK('2018-07-24') SELECT * FROM your_table WHERE YEARWEEK(`date`, 1) =…
-
0
votes1
answer50
viewsA: Symfony Custom Field 2
You have two options: 1 - Manually place the fields inside the form and pick up the wall meters via $request inside the controller. HTML {{ form_start(form) }} <select name='cidades'>…
-
1
votes1
answer308
views -
9
votes1
answer20447
viewsA: Problem with facebook API
You must select the domain for the App, if you are on localhost, just put the localhost as the domain of the app, if not put the domain that tries to access: I hope I’ve helped!…
-
0
votes1
answer203
viewsA: How to load this . json file into a google API?
You must make a Ajax or use the Jquery function getJson(): $.getJSON( "ajax/test.json", function( data ) { //A variável data está o seu arquivo json que é retornado. console.log(data); });…
-
0
votes1
answer720
views -
1
votes1
answer96
viewsA: Streamlining CSS with PHP goes against good practice?
Yes, it is a bad practice if you work with Design Patterns and MVC architectures. However, if you program structured, I see no problem, but there are better ways to create a dynamic CSS, with…
-
0
votes2
answers66
viewsA: Symfony 2 create query
The problem is the ->execute(). To run the Query you need to use the getResult(). The correct form is: $this->getEntityManager()->createQuery("select p.name from blogBundle:Person p where…
-
0
votes3
answers212
viewsA: Error at end of Symfony installation
Hi friend, Hello World is implemented in Acmebundle. The problem of "No route found" is because there is no route you want to access. I’ll teach you the steps to create a new Dark and create a route…
-
1
votes1
answer787
views -
0
votes2
answers98
viewsA: Sum of fields for input
You can loop the variable $customer and add up each value. $soma = 0; foreach($customer as $valor){ $soma = $soma + $valor; } This code will go through all the data in your Array and add everything…
-
2
votes3
answers689
viewsA: phpMyAdmin is insurance against bruteforce?
Friend, I wouldn’t recommend leaving Phpmyadmin on the Web. It is a tool with many vulnerabilities and not only Rute force, which can put your applications at risk. I searched for the…
phpmyadminanswered fabionvs 324 -
-1
votes1
answer241
viewsA: Json_econde error parsing special characters coming from the database ( using mysql PDO)
Buddy, I’ve had enough of these problems and it’s not easy to solve, but I’ll try to help you. function utf8_converter($array) { array_walk_recursive($array, function(&$item, $key){…
-
1
votes2
answers433
viewsA: Large data volume datatables
Eai Brow, datatables is a great tool, but it is bad for use for large data volumes. So we developers use dynamic paging. Here is a tutorial from the Devmedia site that will help you create dynamic…
-
0
votes2
answers82
views