RE: [PHP] variables within variables - question

2002-03-27 Thread Rick Emery
$field2 = "<".$$field; -Original Message- From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 27, 2002 12:33 PM To: [EMAIL PROTECTED] Subject: [PHP] variables within variables - question Im having a VERY hard time trying to explain this Here i

[PHP] variables within variables - question

2002-03-27 Thread Phil Schwarzmann
Im having a VERY hard time trying to explain this Here is a bit of my code... for ($i = 0; $i < $num_fields; $i++) { $field = mysql_field_name($result, $i); $field2 = "<".$field; $output = str_replace($field2, $field), $output); } The problem I'm having here is that the variable $fiel