Re: [PHP] Displaying Results on different rows in tables

2007-01-19 Thread Dan Shirah
Ah, I see. In Brad's reply there was two $result = mssql_query($sql) or die(mssql_error()); in the code. Removed the one from outside of the loop and it works fine now. Thanks to both of you for your help! On 1/18/07, Chris <[EMAIL PROTECTED]> wrote: Dan Shirah wrote: > The code above d

Re: [PHP] Displaying Results on different rows in tables

2007-01-18 Thread Chris
Dan Shirah wrote: The code above displays no information at all. What I want to do is: 1. Retrieve my information 2. Assign it to a variable 3. Output the data into a table with each unique record in a seperate row As Brad posted: echo ""; while ($row = mssql_fetch_array($result)) { $id

Re: [PHP] Displaying Results on different rows in tables

2007-01-18 Thread Dan Shirah
The code above displays no information at all. What I want to do is: 1. Retrieve my information 2. Assign it to a variable 3. Output the data into a table with each unique record in a seperate row On 1/18/07, Brad Bonkoski <[EMAIL PROTECTED]> wrote: Dan Shirah wrote: > Hello all, > > I am tr

Re: [PHP] Displaying Results on different rows in tables

2007-01-18 Thread Brad Bonkoski
Dan Shirah wrote: Hello all, I am trying to pull data and then loop through the multiple results display in seperate rows. My database contains several tables which are all tied together by the credit_card_id. After running the query, it ties the unique record together by matching the credi