Looking at your earlier posts I would suggest that yes it should be ListBox1
and not Course1.
Also change the foreach line to read
foreach (array($_POST['ListBox1'], $_POST['ListBox2']) as $val)
The $_ is only used for the Automatic Global Variables.
Regards
Rob Howard
-Original Mes
Hi Wade,
This is what you should have put in the Echo Lines
echo 'Entree: "' . $_POST['Course1'] . '"';
echo 'Dessert: "' . $_POST['ListBox2'] . '"';
the $_POST variable is set as an array with the names of each of the POST
variables as Keys to the array. As such $_POST['Course1
Hi everyone,
The tool I use for editing any and all text based files is SYN editor by
Ascher Stefan http://web.utanet.at/acherst/index.html which has an excellent
array of syntax highlighters.
Just my 2.2c (GST Inclusive)
Rob Howard
-Original Message-
From: A Weaver [mailto:[EMAIL PROTEC
Try changing your echo string to this:-
echo "";
This will make your code eaiser to read as well as showing when you have a
missing Quote as Dash has pointed out;
Regards,
Rob Howard
Database Technician
Canberra Deep Space Communication Complex
-Original Message-
From: krizz [mailto:[E
change your else($submit) statement to else
-Original Message-
From: zeus [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 20 November 2002 4:25 AM
To: phpwin
Subject: [PHP-WIN] parse error
i get parse error with this code, what's wrong with the code? i think i
have give the "else" statement
Just a hunch but what script timeout have you set in IIS and in your
PHP.INI? Try increasing these figures (60 seconds perhaps)
Regards,
Rob Howard
Database Technician
Canberra Deep Space Communication Complex
Ph 02 6201 7939Fax 02 6201 7845
-Original Message-
From: Sichta Daniel [m