Jump to content
php.lv forumi

meklesana


Mikijs

Recommended Posts

amm nju es nepamaniju jusu postus tapec improvizeju un pats uztaisiju

 

ja nu gadam vajag

function searchxml($what) {
$xml->simplexml_load_file('xml/mans.xml');
$return=array();
foreach($xml->tags as $tags) {
 if(eregi($tags['kautkas'], $what)) {
  $i++;
  $return[$i]=$tags['kautkas'];
 }
}
return $return;
}

Link to comment
Share on other sites

×
×
  • Create New...