Re: [PHP] adding text to a variable name

2001-05-01 Thread Gyozo Papp
From: "Jamie Saunders" <[EMAIL PROTECTED]> Subject: [PHP] adding text to a variable name > Is it possible to add text onto the end of a variable name? > e.g. to add the word 'code' onto the variable $field so it would be $fieldcode I think you want to do it in an automatic way for each variable

Re: [PHP] adding text to a variable name

2001-05-01 Thread Henrik Hansen
Jamie Saunders <[EMAIL PROTECTED]> wrote: > Hi, > > Is it possible to add text onto the end of a variable name? > e.g. to add the word 'code' onto the variable $field so it would be $fieldcode Look variable variables up in the manual, I think that would solve your problem. example: $var =

RE: [PHP] adding text to a variable name

2001-05-01 Thread Brandon Orther
Just do this: $fieldcode = field; Brandon -Original Message- From: Jamie Saunders [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 01, 2001 6:46 AM To: [EMAIL PROTECTED] Subject: [PHP] adding text to a variable name Hi, Is it possible to add text onto the end of a variable name? e.g. t