RE: [PHP-DB] Sorting multidimensional arrays from mysql

2005-05-02 Thread John R. Sims, Jr.
I need your help. I have a script that allows me to select a specific user from a mysql database and then allow me to show the data on a specific client. I would like to put this information into a for that I have created instead of just displaying them on the screen. Any Suggestions. Keeping t

Re: [PHP-DB] Sorting multidimensional arrays from mysql

2005-05-02 Thread J. Connolly
echo ""; foreach ($all_data as $this_row) { echo "Phone: " . $this_row{"phone"} . ""; } echo ""; echo ""; Jos PS: Please always reply to [EMAIL PROTECTED] -Original Message- F

RE: [PHP-DB] Sorting multidimensional arrays from mysql

2005-05-02 Thread Juffermans, Jos
ho "Phone: " . $this_row{"phone"} . ""; } echo ""; echo ""; Jos PS: Please always reply to [EMAIL PROTECTED] -Original Message- From: J. Connolly [mailto:[EMAIL PROTECTED] Sent: 02 May 2005 16:14 To: Juffermans, J

RE: [PHP-DB] Sorting multidimensional arrays from mysql

2005-05-02 Thread Juffermans, Jos
ge- From: J. Connolly [mailto:[EMAIL PROTECTED] Sent: 02 May 2005 15:42 To: PHP list Subject: [PHP-DB] Sorting multidimensional arrays from mysql Morning all, I am having problems understanding what I need to do. Usually for most of my work, all i need to do is pull the information and pla

[PHP-DB] Sorting multidimensional arrays from mysql

2005-05-02 Thread J. Connolly
Morning all, I am having problems understanding what I need to do. Usually for most of my work, all i need to do is pull the information and place it like this: function office_list(){ global $link; echo ""; $sql = "SELECT town FROM offices"; $result = mysql_query($sql, $li