[eluser]Todlerone[/eluser]
TY here is what I get.
Array
(
[0] => Array
(
[plan_status_id] => 79
[demo_num_id] => 183
[clinic_visit_id] => 110
[plans_plan_name] =>
[plan_status_current] => ip
[plan_status_plan_overall] =>
[plan_status_started_plan_date] =>
[plan_status_finished_plan_date] =>
[plan_status_comments] =>
[plan_status_created_by] => asmith
[plan_status_created_on] => 2011-04-08 10:30:18
[plan_status_edited_by] => tgauld
[plan_status_edited_on] => 2011-04-11 04:02:29
)
)
It doesn't seem to like my foreach loop. My two if loops simply check to see if the original plan name is NULL so that I can place a name (from the returning form) in it. The second one is to check that the returning form plan name isn't the same as the one from the database table, if it isn't create a new row ....
TY again
PS: love the <pre> formatting of print_r().....awesome...TY