[PHP] Re: MySQL QUERY Results Not Appearing

2004-07-02 Thread Harlequin
Craig. Thanks for the response and sorry I've been delayed in getting back to you. I put a new page together and dropped all the peripheral code and this is what I ended up with: ?php /* MySQL Connection Variables */ $host=localhost; $user=arras_WebMaster; $password=qwerty;

RE: [PHP] Re: MySQL QUERY Results Not Appearing[Scanned]

2004-07-02 Thread Michael Egan
{ while($result = mysql_fetch_array($query)) { echo $result['UserID']; } } HTH, Michael Egan -Original Message- From: Harlequin [mailto:[EMAIL PROTECTED] Sent: 02 July 2004 09:34 To: [EMAIL PROTECTED] Subject: [PHP] Re: MySQL QUERY Results Not Appearing[Scanned] Craig

[PHP] Re: MySQL QUERY Results Not Appearing

2004-06-30 Thread Craig Donnelly
$result is an array that has to be fetched...try this echo h3active members should appear here/h3; $query = mysql_query(SELECT * FROM RegisteredMembers) or die(could not execute query); while($result = mysql_fetch_array($query)){ echo $result['YOUR_DB_FIELDNAME']; } change