Welcome Guest, Not a member yet? Register   Sign In
Arrays
#11

[eluser]Todlerone[/eluser]
I don't get the foreach loop error anymore but I have noticed that after I hit the form submit button it quickly displays array() and nothing gets added to my database table. I tried the
Code:
if (empty($ps->plans_plan_name) && $ps->plan_status_current == 'ip'){
but for some reason it doesn't seem to determine the NULL value...

I then tried to set a default value for the plans_plan_name field("not_set") and tried this
Code:
if ($ps->plans_plan_name == 'not_set' && $ps->plan_status_current == 'ip'){
But this also hasn't worked.


Messages In This Thread
Arrays - by El Forum - 04-12-2011, 11:09 AM
Arrays - by El Forum - 04-12-2011, 11:59 AM
Arrays - by El Forum - 04-12-2011, 01:05 PM
Arrays - by El Forum - 04-12-2011, 01:08 PM
Arrays - by El Forum - 04-12-2011, 01:28 PM
Arrays - by El Forum - 04-12-2011, 01:32 PM
Arrays - by El Forum - 04-12-2011, 01:35 PM
Arrays - by El Forum - 04-12-2011, 01:39 PM
Arrays - by El Forum - 04-12-2011, 01:40 PM
Arrays - by El Forum - 04-12-2011, 01:44 PM
Arrays - by El Forum - 04-12-2011, 02:18 PM
Arrays - by El Forum - 04-12-2011, 03:02 PM



Theme © iAndrew 2016 - Forum software by © MyBB