So i got a color selector from http://www.eyecon.ro/colorpicker/
How do i save the selected color code in a php var so i can insert it in a MySQL db ?

You will need to send that value to a PHP script via an AJAX call.

can you please explain or give me a sample code
i only know html and some php total noob to java script :|

Search this forum (PHP and/or Javascript), it's full with examples.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.