RE: [PHP] incrementing string value

2003-07-28 Thread Ford, Mike [LSS]
> -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); > > >

Re: [PHP] incrementing string value

2003-07-25 Thread Curt Zirzow
* 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 sur

Re: [PHP] incrementing string value

2003-07-25 Thread Marek Kilimajer
JavaScript has arrays too. I'm sure you will find it easier to work with them.
var a=new Array();

a[]="";

Jeremy wrote: writing some client side javascript with some dynamic php, and I need to be able to print a dynam

Re: [PHP] incrementing string value

2003-07-25 Thread Curt Zirzow
* 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' Curt -- "I used to think I was indecisive, but now I'm not so sure." -- PHP General Mailin

Re: [PHP] incrementing string value

2003-07-25 Thread Curt Zirzow
* Thus wrote Jeremy ([EMAIL PROTECTED]): > writing some client side javascript with some dynamic php, and I need to be > able to print a dynamic number of variables to the javascript. > > I need to print: > var a=""; > var b=""; > ...etc. > > Is there a way to increment a php $var much like $var+

Re: [PHP] incrementing string value

2003-07-25 Thread Jeremy
let me make sure I understand... $var = 'a'; $var++ print($var); would print "b" to the screen? Jeremy "Carl Furst" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Yep that should work as does $var-- > > > -Original Message- > From: Jeremy [mailto:[EMAIL PROTECTED] > Sent:

RE: [PHP] incrementing string value

2003-07-25 Thread Carl Furst
Yep that should work as does $var-- -Original Message- From: Jeremy [mailto:[EMAIL PROTECTED] Sent: Friday, July 25, 2003 12:28 PM To: [EMAIL PROTECTED] Subject: [PHP] incrementing string value writing some client side javascript with some dynamic php, and I need to be able to print a dy