Posts by João V. Araújo • 72 points
7 posts
-
2
votes2
answers3049
viewsA: How to print an array with indexes and values in PHP?
It would be like, where you typed the values, you will print the matrix: <td><?php echo $matriz['HGF']['Cristus'] ?></td> <td><?php echo $matriz['HGF']['Unifor']…
-
2
votes1
answer305
viewsA: DAO files in PHP required?
An DAO is not connected to the MVC or belonging to the PHP, but you commonly see the two being employed together DAO and MVC and also it is common to see DAO on PHP as it is a good practice. DAO is…
-
0
votes1
answer68
viewsA: Javascript - Error loading new files
I was able to solve by creating an onclick for each button. The error happens because the Popover script observes elements that were created at the time of creation of the page, after that it is…
-
0
votes5
answers1023
viewsA: What is the difference between starting an empty variable and starting directly with the value?
If you happen to start a variable this way: $x; It has to be initialized somewhere because it may have memory junk. For example: $i = $x + 1; You do not know what can come out of it because it had…
-
0
votes1
answer182
viewsA: Pass information between two PHP pages
On the button put an onClick event like this: <a onclick="procuraPelaCidade()"> Create a javascript simple function procuraPelaCidade(){ var nome =…
-
1
votes3
answers1096
viewsA: How to find out the PHP version of a standard project?
Open a tag in a Blade.php, like index.blade.php, in the public folder and type <?php phpinfo(); ?> Here I’ve tested it, and it works abs!
-
-1
votes1
answer68
viewsQ: Javascript - Error loading new files
I have a page that contains mosaic of images with a button and when I click I open a Popover. Until then ok, because this mosaic is generated by Blade.php, of Laravel 5. But I change the mosaic from…