why not just use that as a dropdown for Mr./Mrs./Ms.?
It'll look a lot cleaner
Search found 7 matches
- Mon Jul 03, 2006 11:04 am
- Forum: PHP - Code
- Topic: using radio buttons in html and php...
- Replies: 4
- Views: 1285
- Thu Jun 22, 2006 10:59 pm
- Forum: PHP - Code
- Topic: Trying to get a classification form to work
- Replies: 7
- Views: 437
- Thu Jun 22, 2006 10:42 pm
- Forum: PHP - Code
- Topic: Trying to get a classification form to work
- Replies: 7
- Views: 437
This isn't tested if(isset($_POST['values']){ // Check to see if they submitted anything $total = array_sum($_POST['values']); // Sum up the total if($total > 20){ // User is in class one } elseif($total >10){ // User is in class two } elseif($total > 5){ // User is in class three } else{ // User i...
- Thu Jun 22, 2006 3:39 pm
- Forum: PHP - Code
- Topic: Trying to get a classification form to work
- Replies: 7
- Views: 437
- Thu Jun 22, 2006 12:41 pm
- Forum: PHP - Code
- Topic: Trying to get a classification form to work
- Replies: 7
- Views: 437
I just have no idea how to go about doing it. I thought that I could just do a list of if's but somebody else said something about using some type of array but as I said, I'm fairly new to PHP and that is over my head. The only things I've really done with PHP is doing management sections for websit...
- Thu Jun 22, 2006 11:28 am
- Forum: PHP - Code
- Topic: Can anyone tell me what is wrong with those two scripts??!!
- Replies: 13
- Views: 625
- Thu Jun 22, 2006 11:12 am
- Forum: PHP - Code
- Topic: Trying to get a classification form to work
- Replies: 7
- Views: 437
Trying to get a classification form to work
I'm fairly new to PHP and so I'm not completely fluent in the language. What I'm trying to do is this: I have a classification form which basically is setup that each checkbox is worth a value, normally between 1 to 3. When the user checks the boxes that apply to them and clicks "Submit" I...