Posts by Richard Palmas • 21 points
5 posts
-
0
votes2
answers84
viewsA: How do I get a given function to return the value of a date variable and a numeric one in php?
Guys, I was really thinking incorrectly to solve my problem just use the function this way: Function: function proximoDiaUtilPr($data, $saida = 'Y-m-d') { // Converte $data em um UNIX TIMESTAMP…
-
-1
votes2
answers84
viewsQ: How do I get a given function to return the value of a date variable and a numeric one in php?
I created a function that calculates the next working day of a given date that it receives, but in addition to returning me this new date I wanted it to increment one number more than one counting…
-
0
votes1
answer100
viewsA: Problem to split variables in PHP
After analysis I found that the problem was related to division of 0. So to solve this I did the following: if ($dj_cv_at[concluida_c_imp_total][$i] == 0){ $dj_cv_at[percentual][$i] = 0; } else…
-
1
votes1
answer100
viewsQ: Problem to split variables in PHP
I’m having trouble with a php page. Whenever I put the following code to do the division of two variables stored in arrays $dj_cv_at[percentual][$i] = ($dj_cv_at[concluida_c_imp_total][$i] /…
-
1
votes1
answer102
viewsQ: Google’s Pie Chart is deformed when called by Javascript function
Hey there, guys. I’m having trouble making a chart that is "display:None" in "display: block" through Javascript. The problem is that when I make the graph visible it gets smaller than expected. The…