-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
* On 16-01-02 at 12:45 * Dani said.... > Hi! > > I 'm trying not to hard code my php coding and I'm trying to pass a > variable name into the $row[coloumname_$variable]; > > I get an error message for this code. > > I'm just wondering if I could do this trick using other ways of writing > it. > I'm not sure of the syntax but you need to be looking ar variable variables, there's a whole section on it in the manual. HTH - -- Nick Wilson Tel: +45 3325 0688 Fax: +45 3325 0677 Web: www.explodingnet.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8RWi2HpvrrTa6L5oRAimZAJ4kWwE6Fz9VZgzFZv/1Xl9rfvBZVgCgss/C veKKxbVcUnV493/ykZzoLXw= =G3iP -----END PGP SIGNATURE----- -- PHP General 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]