Posts by Joel Souza • 9 points
3 posts
-
0
votes2
answers1048
viewsA: Foreach PHP JSON json_decode How to print sub array
foreach ($eventos as $e) { echo "id: $e->id - status: $e->status - título: $e->titulo<br>"; foreach ($e->participantes as $key => $value) { echo "$key: $value…
-
-1
votes1
answer219
viewsA: curl_init php does not work in url friendly?
By default the curl does not follow the redirect rules written in your .htaccess. It is necessary to add the flag CURLOPT_FOLLOWLOCATION before: curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);…
-
1
votes1
answer70
viewsA: How Web Workers Work in Chrome
You are probably opening the file directly in the browser, correct? Chrome does not load Workers from a local file (protocol file://). Inside the folder where yours is index.html lift a running…