That does not work either. Here is my code:
$Extract_Prod = mysql_query("SELECT * FROM $Product_DB LIMIT 5");
$FroogleResult = mysql_num_rows($Extract_Prod);
for($iFroogle = 0; $iFroogle < $FroogleResult; $iFroogle++)
{
$Froogle_row = mysql_fetch_array($Extract_Prod);
$ProdName = $Froogle_row['ProdName'];
$ProdImage = $Froogle_row['ProdImage'];
$ProdPrice = $Froogle_row['ProdPrice'];
$ID = $Froogle_row['ID'];
preg_match("/image.php?File=([^\"]*)/i", $ProdImage, $out);
echo $out[1];
echo"$ProdName<br>";
}
and I have also tried:
preg_match_all("/image.php?File=(.+?)/i", $ProdImage, $out);
echo $out[1];
The second bit of code writes the word "Array" to the page.
Now, I have displayed the other results using echo so that I know the results are coming back fine... there are no syntax errors or anything, it just comes out blank. The only thing I can think of is that the string I am seperating has double-quotes in it.