PDA

View Full Version : javascript with php


daemon
06-30-2004, 05:34 PM
I want a number (30) to show on a page and use dropdown menus to select ways to remove numbers from the 30 points and eventually when all points have been selected to the specific dropdown menus (if I choose 6 it will show that I have 24 points left to choose and leave that dropdown menu on the number 6),, and then use a form to add the values to my mysql database

any ideas or links to javascripts ?

sad69
06-30-2004, 08:50 PM
I'm reall ynot sure I understand. Like you've given a fairly vague request. If you could attach an HTML (or post a link to an HTML page) which shows the form you're referring to (of course it wouldn't have any functionality..) so that we could get a better picture of what you're actually after.

Still it sounds like you're looking for a pretty customized script, so you might not find something premade..

Good luck,
Sadiq.

Spookster
06-30-2004, 09:27 PM
Let me just reiterate what sad69 just stated.... Huh? :D

daemon
06-30-2004, 11:54 PM
http://www.jagarda.1go.dk/alone/register2.php

if the link doesnt work go through to get to it:

http://www.jagarda.1go.dk/alone/register.php

raf
07-01-2004, 09:50 AM
well, most of us aren't that fluid in scandinavian languages, so that didn't help much.

With my psychic power fully activated, i kinda sense that you wan't a countdown feature that starts at 30, and is reduced with the values you select in a collection of dropdowns. The resulting form should thenbe posted and the values should be stored in a MySQL db.

The first part, needs to be done using javascript (as you indicated) so run a search for that or post it in the javascript forum.
The second part (storing in MySQL) is realy standard formhandling that is explained in every 'getting started' tutorial.
A wide collection of these can be found here
http://www.hotscripts.com/PHP/Tips_and_Tutorials/Database-Related/index.html

daemon
07-01-2004, 05:51 PM
sorry about the register.php page, but the idea for you was to only write random things on the register page to access register2.php and see what I ment.

you seem to understand my problem anyway so =)

Im gonna post a help request on the javascript forum,, and thx for the link