Re: [PHP] CONTINUE - variable problem - help!

2002-01-16 Thread hugh danaher
Dani, Not that I've tried this exact condition but the internal portion of this array name works elsewhere. Give it a try. $row['${"somename_".($var)}'] - Original Message - From: Dani <[EMAIL PROTECTED]> To: Stefan Rusterholz <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, Jan

Re: [PHP] CONTINUE - variable problem - help!

2002-01-16 Thread Stefan Rusterholz
whoops, typo: echo (isset($row["somename_$var"]) && $row["somename_$var"] !== "") ? $row["somename_$var"] : "Sorry, but \$row[\"somename_$var\"] is not set."; above code should be correct :) (notice: it's only 1 line - email could display it on multiple lines). and here a smaller explanation of

Re: [PHP] CONTINUE - variable problem - help!

2002-01-16 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * On 16-01-02 at 13:43 * Dani said > hi again! > > I tried it but it desn't give me any result back. > It dosn't print any error message but it desn't print my result either. > > this is how I place the code: > > > echo "...some html code..

Re: [PHP] CONTINUE - variable problem - help!

2002-01-16 Thread Stefan Rusterholz
> hi again! > > I tried it but it desn't give me any result back. > It dosn't print any error message but it desn't print my result either. > > this is how I place the code: > > > echo "...some html code..."; > $row["somename_$var"]; > echo "...the continuation of the html code"; > > thanks! I th