I need to get the variable names from a database. On 8/15/07, Chris <dmagick@xxxxxxxxx> wrote: > heavyccasey@xxxxxxxxx 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 show here. > > > What are you trying to do exactly? > > -- > Postgresql & php tutorials > http://www.designmagick.com/ > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php