Re: [PHP-DB] Help in concatenation - modular development

2008-06-07 Thread YVES SUCAET
reen Laghari" <[EMAIL PROTECTED]>Cc: php-db@lists.php.net Subject: Re: [PHP-DB] Help in concatenation 1. 0?("?start=").$y:""));?>"> 2. 0?("?start=").$next:""));?>"><< turns into: > $string = '' . $pg .

Re: [PHP-DB] Help in concatenation

2008-06-07 Thread Nitsan Bin-Nun
1. 0?("?start=").$y:""));?>"> 2. 0?("?start=").$next:""));?>"><< turns into: > $string = '' . $pg . ''; > ?> > $string2 = ''; > ?> I can squeeze the if operation into the string but I can't see good cause for this (this is less spageti this way) On 06/06/2008, Nasreen Laghari <[EMAIL P

[PHP-DB] Help in concatenation

2008-06-06 Thread Nasreen Laghari
Hi,   I need to change PHP embeded in HTML to HTML embeded in PHP as trying to use modularity approach. I'm stuck on below these lines where concatenation is the big issue. I have researched, read but couldnt sort this out after try really hard. Could any one please help me to change this code to