Use this code instead: [php] $rebate = mysql_fetch_array($rebate_information['rebate_amount']);
$rebate = $rebate[0];[/php]
And now, $rebate is set :)
Let me know if it didn't work; my PHP is a bit on the rough side during March Break :p
Hi Gary. Thanks for the response. I am getting the following error when I try your suggestion:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource.
I tried using the oscommerce fetch array function in its place, and that didn't work either. I am stumped on this for some reason. Logically, it doesn't make much sense to me yet.
If you could take another look I'd appreciate it.
Thanks again.