im pulling in data from an rss feed, i want to add the title and description into the same row (different fields) in a mysql database
$result = $xml->xpath('//title'); //finding the title tags in the xml document and loading into variable
$result1 = $xml->xpath('//description'); //finding the title tags in the xml document and loading into variable
I'm loading the information into variables but don't understand how i can insert this into a mysql table called data?
It sounds easy but im struggling as its an array.