[PHP] Parsing Variables Inside a String

2007-08-15 Thread heavyccasey
Hi, is there a function that can parse variables within a string? For example: $good_day = 'The'; $fr['iop'] = y're crazy!; $new = '$good_day$fr['iop']'; echo TheFunctionIRequest($new); // They're crazy! Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Parsing Variables Inside a String

2007-08-15 Thread Chris
[EMAIL PROTECTED] wrote: Hi, is there a function that can parse variables within a string? For example: $good_day = 'The'; $fr['iop'] = y're crazy!; $new = '$good_day$fr['iop']'; echo TheFunctionIRequest($new); // They're crazy! Well this: echo $good_day . $fr['iop']; will do what you

Re: [PHP] Parsing Variables Inside a String

2007-08-15 Thread heavyccasey
I need to get the variable names from a database. On 8/15/07, Chris [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: Hi, is there a function that can parse variables within a string? For example: $good_day = 'The'; $fr['iop'] = y're crazy!; $new = '$good_day$fr['iop']'; echo

RE: [PHP] Parsing Variables Inside a String

2007-08-15 Thread Sanjeev N
://webdirectory.sanchanworld.com - Submit your website URL http://webhosting.sanchanworld.com - Choose your best web hosting plan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 15, 2007 12:21 PM To: php-general@lists.php.net Subject: [PHP] Parsing Variables Inside

RE: [PHP] Parsing Variables Inside a String

2007-08-15 Thread Sanjeev N
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 15, 2007 12:41 PM To: Chris Cc: php-general@lists.php.net Subject: Re: [PHP] Parsing Variables Inside a String I need to get the variable names from a database. On 8/15/07, Chris [EMAIL PROTECTED] wrote: [EMAIL PROTECTED

Re: [PHP] Parsing Variables Inside a String

2007-08-15 Thread heavyccasey
://webhosting.sanchanworld.com - Choose your best web hosting plan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 15, 2007 12:41 PM To: Chris Cc: php-general@lists.php.net Subject: Re: [PHP] Parsing Variables Inside a String I need to get the variable

Re: [PHP] Parsing Variables Inside a String

2007-08-15 Thread Jim Lucas
[EMAIL PROTECTED] wrote: Hi, is there a function that can parse variables within a string? For example: $good_day = 'The'; $fr['iop'] = y're crazy!; $new = '$good_day$fr['iop']'; echo TheFunctionIRequest($new); // They're crazy! Thanks! One thing to add to what everybody else is saying,