View Full Version : JavaScript to MySQL with PHP ?

09-02-2006, 12:21 PM

I have a JS code that checks the visitors screen resolution. I would like to insert the screen resolution details into a MySQL database with PHP's mysql_query(); command. How do I do that? Any ideas?


09-02-2006, 04:18 PM
Just load up the values into hidden input fields, or stuff them into a url (like www.site.com?x=800&y=600), then you are off and running. If you are wondering how PHP deals with form elements, read this link.


EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum