Re: $Variables and Select statements

2002-12-18 Thread C. Reeve
Beauford - Original Message - From: "Basil Hussain" <[EMAIL PROTECTED]> To: "C. Reeve" <[EMAIL PROTECTED]>; "MySQL List" <[EMAIL PROTECTED]> Sent: Wednesday, December 18, 2002 11:57 AM Subject: RE: $Variables and Select statements &g

RE: $Variables and Select statements

2002-12-18 Thread Basil Hussain
Hi, > while ($line = mysql_fetch_array($result, MYSQL_ASSOC)) { > > echo " ALIGN=left>".$line['name']." ALIGN=right>".$line['$wk'].""; > > } Here is your problem. Your are indeed substituting $wk into the query correctly, but when you go to output the result rows y