novice2004
Programmer
Help please,
How to go about it?
From my web site I would like to automaticaly
read other web site lets say find "USD" and its equivalent value (which in our case is 10,506),
then place it on my web site.
I think I need to use
some expression in function eregi()
<TD align=left><B>Swiss</B></TD>
<TD align=middle>CHF</TD>
<TD align=right>1</TD>
<TD align=right>15,988</TD></TR>
<TR align=middle bgColor=#f4f4f4>
<TD align=left><B>USA</B></TD>
<TD align=middle>USD</TD>
<TD align=right>1</TD>
<TD align=right>10,506</TD></TR>
<TR align=middle bgColor=#f4f4f4>
so far I have:
$file = fopen(" "r");
while (!feof($file))
{
$line = fgets($file);
if (eregi(">USD<", $line, $result)) ????????????????????
{}
}
Thank you
How to go about it?
From my web site I would like to automaticaly
read other web site lets say find "USD" and its equivalent value (which in our case is 10,506),
then place it on my web site.
I think I need to use
some expression in function eregi()
<TD align=left><B>Swiss</B></TD>
<TD align=middle>CHF</TD>
<TD align=right>1</TD>
<TD align=right>15,988</TD></TR>
<TR align=middle bgColor=#f4f4f4>
<TD align=left><B>USA</B></TD>
<TD align=middle>USD</TD>
<TD align=right>1</TD>
<TD align=right>10,506</TD></TR>
<TR align=middle bgColor=#f4f4f4>
so far I have:
$file = fopen(" "r");
while (!feof($file))
{
$line = fgets($file);
if (eregi(">USD<", $line, $result)) ????????????????????
{}
}
Thank you