Posts by mrdc • 49 points
3 posts
-
-1
votes1
answer63
viewsA: Send email at the end of each month
What you want is a Cronjob: What are CRON JOBS and how to use them with PHP This example uses the Unix/linux cron mechanism, which is the most common to use, but there are mechanisms that integrate…
-
0
votes1
answer119
viewsA: Help with foreach on jsp
Your foreach seems to be ok, is the problem not in the backend? Maybe your products object is not being filled with the three items. Debug your Java code to check this, or dump the JSP object like…
-
1
votes1
answer87
viewsA: Is there any way to write this code in a more didactic way?
I think it makes you feel better: <div class="container"> <% var valor = "No posts!"; if (noticias.length <= 0) { %> <h1><%= valor %></h1> <% } else { for(var i =…