[PHP-WIN] Re:[PHP-WIN] help in understanding string / integer concatenation

2005-01-11 Thread Mihai Frisan
that's what you need: $str = 'hello "' . ($i+1) . '"'; you must put $i+i in brachets in order to evaluate first the expresion $i+1 and then concatenates it to the string best regards mihai i'm not young enough to know everything Hello all; I am a new PHP user. (But not new at programing.)

Re: [PHP-WIN] help in understanding string / integer concatenation

2005-01-11 Thread Michael Purdy
Raymond This produces what I think you want: $str = 'hello' . ($i+1); Mike - Original Message - From: "Raymond Still" <[EMAIL PROTECTED]> To: Sent: Wednesday, January 12, 2005 4:50 PM Subject: [PHP-WIN] help in understanding string / integer concatenation > Hello all; > I am a new