sorry about this but the above doesnt make much snece to me.
I've got the java script working but as I though, when I select an option it basicly refreshes the form, taking all the items back to the default, was wondering if theres a way to get the same result but keeping what the user has selected in the form, purhaps taking the selected into a variable and using them as default when the form submits somehow?
User Profile
Collapse
-
Sorry about that, was not intending on adding proper code so simply didnt bother with code tags, edited it accordingly.
The touble with this being I would like to submit the form into a database once I have the selected information, how can I do this if I'm porting the form to its self in order to this variable?...Leave a comment:
-
having little look with locating a sufficent example on the internet, just wondering about the syntax, something like
Code:<select name="product" size="1" onChange="$product=$_POST['product'];"> echo "<option value=$id> $info</option>";
Leave a comment:
-
Cheers for your help, I'll look it up now and give it in a bash, let you know how it turns out, cheers guysLeave a comment:
-
Not really, done bits an bobs of Java, thats about it, never really got into it...Leave a comment:
-
I knew it would be something stupid like that, yes thats fixed my first problem, well noticed, cheers for that...Leave a comment:
-
Thats exactly what I'm using and seems to work fine, well apart from the things listed above..Leave a comment:
-
PHP Dynamic Form.
I have two slight problems I simply cant find an answer to anywhere, the first, only small.
I have my database printing out items from a database into a select box, this is giving me blank options even though there are none in the database, I remember having this problem before but cant remember how to get around it?
Secondly on the same form I would like another drop down field to change according to what is selected e.g.... -
Basic Bash Help?
I'm new to bash, only been doing it a day or so, but having some trouble with one thing. I am trying to create a script that checks for updates, places them into a file, slightly formats them, then emails them. It's the latter I'm having trouble with, I have copied an email tutorial and doesnt want to work. Here is my code, I know its not the most efficent but it's actuly the first script I've done. sure it's something simple that I cant see but...
No activity results to display
Show More
Leave a comment: