$result = str_replace('word', '', $example);
I've hear sprint is faster. So how can I acieve the same result using sprintf? //Strip out titles already containing the word large.
$result = str_replace(' large', '', $row['prodname']);
$entry = array(
'title' => html_escape($result),
'link' => html_escape($link),
'description' => html_escape($desc),
'g:product_type' => "$row['prodcat"],
'g:expiration_date' => $expirationDate,
'g:id' => $row['productid'],
'g:condition' => html_escape(strtolower($row['prodcondition'])),
'g:price' => $price
);