On 10 Apr 2001, at 13:49, Rob Griffiths wrote:

> **50**       print "<tr bgcolor=#66FFFF><td>{$A["fname"]}</td>" .
>                "<td>{$A["lname"]}</td>" . "
>                <td>{$A["dept"]}</td>" . " <td>{$A["manager"]}</td>" .
>                "<td>{$A["extension"]}</td></tr>\n";

Notation with "{" parenthesis is not used in PHP3. Use the string 
concatenation operator "." instead:

print "some string".$array["element"]."some other string\n";

you could also use printf(), but AFAIK, this is the most safe way 
from the "sintactical" point of view.

HTH, bye

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

Fabrizio Ermini               Alternate E-mail:
C.so Umberto, 7               [EMAIL PROTECTED]
loc. Meleto Valdarno          Mail on GSM: (keep it short!)
52020 Cavriglia (AR)          [EMAIL PROTECTED]

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to