The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.
...
...
----------------
If I wanted to use PHP to extract the info for the Home Page, and display it on the page, how would I do it? I have read through lots of stuff about PHP and XML, but I can't work out how to print only a certain entry. For example, how would I get a page to contain the following code???:
Main Home Page
-----------
$simple = "
$p = xml_parser_create();
xml_parse_into_struct($p,$simple,$vals,$index);
xml_parser_free($p);
echo "Index array\n";
print_r($index);
echo "\nVals array\n";
print_r($vals);
for ($i=0; $i=3; $i++)
{
$val_id[$i] = $vals[$i][attributes][ID];
if (strstr($val_id[$i], "home"))
{
$data = $vals[$i][value];
}
}
echo $data;
?>
------------------
any ideas why it times out??? error on line 13 apparently...
...
...
----------------
If I wanted to use PHP to extract the info for the Home Page, and display it on the page, how would I do it? I have read through lots of stuff about PHP and XML, but I can't work out how to print only a certain entry. For example, how would I get a page to contain the following code???:
Main Home Page