On 03-Jul-01 Brad Hubbard wrote:
> On Tue, 3 Jul 2001 02:51, Don Read wrote:
>
>> $pstr='FltNum=2972&page=fi&selectDay=July+02';
>> $fp=openpost('dps2.usairways.com', '/cgi-bin/fi', $pstr);
>>
>> // i'm not so sure about that selectDay, javascript ain't my thing.
>
> This is implementation dependant (it's using an array they've created
> (monthNames should be defined futher up the page within a <script> tag) so
> it
> could be anything)
Understood.
> there doesn't appear to be a "+" in there though so it's
> more likely selectDay=July02 or selectDay=0702 or selectDay=702.
>
>
The OP :
<script>
todayMonth = monthNames[today.getMonth() + 1];
document.write( '<option value=\"' + todayMonth + '
' + today.getDate() + '\">today</option>');
I expected the todayMonth+ ' ' +
> Cheers,
> Brad
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]