as discussed. Again the url is:
[login to view URL]
the query is ($id=$_GET['id'] and $credits=$_GET['numberofcredits'] and $price=$_GET['price'])
UPDATE credits SET credits='$credits' WHERE id='$id'
and the log query:
INSERT INTO log (userid,credits,price) VALUES ('$id','$credits','$price')