Re: [PHP-DB] display variable variables in a text field in a form

2001-05-18 Thread Shahmat Dahlan
oint > them out. > > steve > > > -Original Message- > > From: Shahmat Dahlan [mailto:[EMAIL PROTECTED]] > > Sent: 18 May 2001 11:29 > > To: PHP-DB > > Subject: [PHP-DB] display variable variables in a text field in a form > > > > > &g

RE: [PHP-DB] display variable variables in a text field in a form

2001-05-18 Thread Steve Brett
rateful if someone could point them out. steve > -Original Message- > From: Shahmat Dahlan [mailto:[EMAIL PROTECTED]] > Sent: 18 May 2001 11:29 > To: PHP-DB > Subject: [PHP-DB] display variable variables in a text field in a form > > > $fields=array("f

[PHP-DB] display variable variables in a text field in a form

2001-05-18 Thread Shahmat Dahlan
$fields=array("fname","lname","dept","city","ophone","hphone","fax","email"); $sqlstmt="SELECT * FROM contacts WHERE id='$id'"; $result=mysql_query($sqlstmt); foreach ($fields as $values) { print "\n$fieldn\n\n \n"; } I'm not sure how to explain this, when do the above (I have omm