Posts by Bebeto Alves • 34 points
3 posts
-
1
votes1
answer1083
viewsA: Remove white space php
Well, if you want to remove ALL whitespace, you can use a regular expression. $valores = preg_replace("/\s+/", "", $_POST["valores"]);
-
0
votes1
answer32
viewsA: Print information from a php file that generates json
Very simple. You can use: file_get_contents (or CURL), json_decode and a foreach. For example, it would look like this: <?php $json = file_get_contents("dados.json"); $dados = json_decode($json,…
-
-2
votes2
answers123
viewsQ: Is there any way to self-adjusting the site for mobile phones?
I am doing a mini-project where on PC the same does not present problems in the page preview. But when I test on the cell phone the thing changes a little figure, see the print of the two tests…