I have a DIV, and a .php file that will receive 2 arguments, like this:

writesql.php?arg1=123&arg2=456

And i have this DIV:

PHP Code:
<div style="width:100px;height:100px;border:solid 1px;"testing... </div

And i'm trying to do one thing..
When i click on that DIV, i want it to write those 2 arguments "123" and "456" to the .php file so instantaneosly it writes it in the database.

How can i do that?