I am very new to php, xml, DOM, ... so I am sure this is a very basic question. Please bear with me.
In one php page, I have this code...
<cotd mid="<?=$POST['mid']?>" date="<?=date('c',$day)?>" msg="<?=$errmsg?>" img="<?=$POST['img']?>" />
The result of the above code is that int he XMLrequest stucture in the XMLresponse field, I have 1 node - cotd with 4 attributes - mid, date, msg, img
Now here is my problem. Now I need to send an array in the XMLrequest stucture. My array is 10 items each with three fields. If I do this
<cotd chefs="<?=$randchefs?>" />
The array does not pass through.
Can somebody give me some advice as to how to pass the array such that it ends up in the XMLresponse structure?