I am updating my scripts to work with PHP 5. I use a third party shopping cart service and they allow silent posting (through url). My PHP code below worked with PHP 4 but does not with PHP 5.

I tried using the GET and POST arrays but none of them have worked.

PHP Code:
<?
// DB connection stuff

mysql_query("INSERT into orders
(inv_num)
VALUES
('$inv_num')"
);

?>