Posts by Jorge Carlos • 86 points
3 posts
-
1
votes2
answers293
viewsA: Else doesn’t work
The case that the Else is not triggered would be $mail->Send() does not return false in case of failure, suggest q see the function result using the var_dump($mail->Send()), as shown in the…
-
2
votes1
answer86
viewsA: How can I do the foreach correctly
I did not locate any foreach in the code q mostro, more according to the http://php.net/manual/en/control-structures.foreach.php a foreach would be like this, the first example is given the value of…
-
4
votes3
answers380
viewsQ: Use variables outside the function
I’m studying php7 and I saw somewhere that it’s now possible to use external function variables, but they’re in the same file. As I recall it was something like this: <?php $agua = '1 Litro';…
phpasked Jorge Carlos 86