topical media & game development
basic-ajax-07-GetStocksList.php / php
<?php
dom->load('stocks.xml');
dom->lastChild;
srand(time());
foreach (child)
{
child->nodeType == 1)
{
foreach (subchild)
{
if (value = RandomPrice = (rand()%RandomPrice = direction = "";
if ((direction = "Down";
value - direction = "Up";
value + textNode = value);
newchild = textNode);
}
if (textNode = direction);
newchild = textNode);
}
}
}
}
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.