Posts by Najib El Alam • 116 points
4 posts
-
4
votes2
answers459
viewsA: Represent relationships in json
Fernando, thinking of coupling, I believe that the ideal would be to have 3 interconnected information sets. Imagine that later when you need to change information from Company / Client / Contract…
jsonanswered Najib El Alam 116 -
1
votes1
answer74
viewsA: Read json output in Php
Whereas your JSON structure is OK, cfme example below. { "log": { "1": { "message": "testing connection to the target URL", "level": "INFO", "time": "10:24:05" }, "2": { "message": "checking if the…
-
0
votes1
answer92
viewsA: Concatenate Lines with the same User
good, considering the following structure CREATE TABLE user (`id_user` int, `nome` varchar(5)) ; INSERT INTO user (`id_user`, `nome`) VALUES (1, 'maria') ; INSERT INTO user (`id_user`, `nome`)…
-
5
votes3
answers213
viewsA: Function explodes() into a vector
<?php $VAR = "joao.silva/jose.ferreira/maria.jose/carlos.eduardo/"; // assim você vai ter no arr_nomes todas as ocorrências $arr_nomes = explode("/",$VAR); //mostra…
phpanswered Najib El Alam 116