Welcome Guest, Not a member yet? Register   Sign In
If and elseif Question
#2

[eluser]xwero[/eluser]
Code:
$event_cost = 25;
for($i=1;$i<=4;$i++)
{
   if($_POST['guest_name_'.$i] != '')
   {
       $event_cost += 25;
   }
}


Messages In This Thread
If and elseif Question - by El Forum - 09-06-2008, 03:34 PM
If and elseif Question - by El Forum - 09-06-2008, 03:57 PM
If and elseif Question - by El Forum - 09-06-2008, 04:00 PM
If and elseif Question - by El Forum - 09-06-2008, 04:06 PM
If and elseif Question - by El Forum - 09-06-2008, 05:36 PM
If and elseif Question - by El Forum - 09-06-2008, 06:55 PM



Theme © iAndrew 2016 - Forum software by © MyBB