On Wednesday 29 August 2001 14:45, Glyndower wrote:

> Heres my  "I'm a newbie" question... exactly how and where do I define the
> variables so that i can use them in a different order than they are in the
> query?

Go over your results like this instead:

while ($row = mysql_fetch_row($result)) {
    echo $row['listnum']; // displays 'listnum' field
    echo $row['officephone']; // etc...
}

(I've assumed your syntax for the mysql_fetch_row() function, I haven't used 
it in a while (use PostgreSQL myself)).

ad

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to