I'm just wondering what the best way is to extract and display a
number from a html file.
I tried the following piece of code, however it does not work.
ereg('\d\.\d', $content, $reg);
echo $reg[0];
number from a html file.
I tried the following piece of code, however it does not work.
ereg('\d\.\d', $content, $reg);
echo $reg[0];
Comment