Posts by Daniel Freitas • 88 points
5 posts
- 
		2 votes1 answer22 viewsA: Laravel - json_encode() does not workjson_decode, as you can see in documentation, is used to decode a JSON string. That is, unless you have a JSON string, it should not work. Here’s an example: $string = "{\"version\": \"4.5.0\",… 
- 
		-1 votes1 answer31 viewsA: sending email with phpmailerFirst of all you need to group the titles per client, something like: $vencimentosPorCliente = []; foreach ($vencimentos as $vencimento) { $vencimentosPorCliente[$vencimento["A1_EMAIL"]][] =… 
- 
		1 votes2 answers508 viewsQ: How do I do INNER JOIN in this case?I’m a beginner in Postgresql and I need to make a INNER JOIN to relate data from two tables. It took me a long time to understand this FOREIGN KEY, but I made the right reference in the database.… 
- 
		0 votes0 answers27 viewsQ: Remove Row from table and adjust IdsGreetings. I’m a beginner in the database and wanted to know the correct way to remove an item from the table and update the identification number of the others. This is the typical novice problem,… 
- 
		4 votes1 answer425 viewsQ: Coloring words from RichtextboxMy goal is to color all the words that are inside double quotes, and the quotation marks as well! For example: "This text needs to be colored".