Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-02-2006, 12:21 PM   PM User | #1
kaisellgren
Regular Coder

 
Join Date: Jan 2006
Location: Finland, Hollola
Posts: 285
Thanks: 8
Thanked 0 Times in 0 Posts
kaisellgren is an unknown quantity at this point
JavaScript to MySQL with PHP ?

Hi,

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?

Thanks
__________________
PHP 5 & MySQL 5 (Y)
kaisellgren is offline   Reply With Quote
Old 09-02-2006, 04:18 PM   PM User | #2
Fumigator
UE Antagonizer


 
Fumigator's Avatar
 
Join Date: Dec 2005
Location: Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
Posts: 7,686
Thanks: 42
Thanked 637 Times in 625 Posts
Fumigator is a glorious beacon of lightFumigator is a glorious beacon of lightFumigator is a glorious beacon of lightFumigator is a glorious beacon of lightFumigator is a glorious beacon of light
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.

http://www.php.net/manual/en/tutorial.forms.php
Fumigator is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:53 PM.


Advertisement
Log in to turn off these ads.