Welcome Guest, Not a member yet? Register   Sign In
I don't undertand this behavior
#5

[eluser]Soporte[/eluser]
[quote author="InsiteFX" date="1392642031"]
Code:
if (<?php $modo=isset($modo)?$modo:“1”; echo $modo;?> == 2){

Do you really think that is going to run? using a Ternary operator inside another if statement.

Code:
<?php
$modo = isset($modo) ? $modo : “1”;

if ($modo == 2){
echo $modo;
}
?>
[/quote]

Thank you very much InsiteFX !,
but it does not work, yet.
By some reason that I don't know, this script run at first , but when I load it a second time from my controller, then it does not work.



Messages In This Thread
I don't undertand this behavior - by El Forum - 02-14-2014, 02:54 PM
I don't undertand this behavior - by El Forum - 02-16-2014, 06:36 PM
I don't undertand this behavior - by El Forum - 02-17-2014, 06:00 AM
I don't undertand this behavior - by El Forum - 02-17-2014, 11:57 AM
I don't undertand this behavior - by El Forum - 02-17-2014, 12:18 PM



Theme © iAndrew 2016 - Forum software by © MyBB