try learning about: XML parser functions
-elias
http://www.kameelah.org/eassoft
"Jan Grafström" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi!
> I have this xml:
>
> car
> ford
> 3600
>
>
> -
> and this php:
> $filename = "list.xml";
> $fp
Hi!
I have this xml:
car
ford
3600
-
and this php:
$filename = "list.xml";
$fp = fopen($filename, "r");
$string = fread($fp, filesize($filename));
$string = strip_tags($string);
$refined_string = explode(" ", $string);
if (in_array($needle." ", $refined_string)) {
print "found";
2 matches
Mail list logo