> -----Original Message-----
> From: Curt Zirzow [mailto:[EMAIL PROTECTED]
> Sent: 26 July 2003 01:14
>
> * Thus wrote Curt Zirzow ([EMAIL PROTECTED]):
> > * Thus wrote Jeremy ([EMAIL PROTECTED]):
> > > let me make sure I understand...
> > >
> > > $var = 'a';
> > > $var++
> > > print($var);
> > >
> > > would print "b" to the screen?
> >
> > um.. ignore my post ealier.. yes it does print 'b'
>
> I forgot to mention, be sure to check how far you are in your loop
> cause last time i checked:
>
> ...
> var z[];
> var {[];
>
> will produce a javascript error.
That shouldn't be a consideration, since:
<?php
$x = 'z';
$x++;
?>
will set $x to 'aa' (IIRC).
This is also why
for ($x='a'; $x<='z'; $x++)
doesn't do what you might expect.
Cheers!
Mike
---------------------------------------------------------------------
Mike Ford, Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS, LS6 3QS, United Kingdom
Email: [EMAIL PROTECTED]
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php