I'm pulling some data from an XML feed.
There are 10 items, all setup in the same format...
I want each field to go into my MySQL database, in the proper fields.
Right now I'm doing this:
foreach ($titles[1] as $title)
{
INSERT INTO DB
}
The next piece of code is esntially what I'm trying to do...it's obviously wrong cause it's not working.
foreach ($titles[1] as $title, $totals[1] as $total, $descriptions[1] as $description)
{
INSERT eACH ELEMENT into it's field and INTO THE DB
}
Any help help is appreciated, especially some coding examples!
Thanks.