SitePoint Sponsor |
|
User Tag List
Results 1 to 7 of 7
Threaded View
-
Jul 11, 2009, 09:24 #1
- Join Date
- Jul 2009
- Posts
- 61
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Using javascript to query SQL (Simple question)
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?
Bookmarks