Re: [PHP-WIN] Move to first record mssql

2005-01-20 Thread Robert Twitty
mssql_data_seek() works for me. Maybe you should post the code prior to what you have provided. -- bob On Thu, 20 Jan 2005, Louis Young wrote: > Hi there > > I'm looping through an mssql dataset, using > while($row=mssql_fetch_array($rsElecTrans)), but now I would like to > loop through the same

Re: [PHP-WIN] Re: Design Assistance

2005-01-20 Thread Jason Barnett
Jim MacDiarmid wrote: Thanks for your thoughts Jason. In reference to the KISS method you mentioned.. ( taking a quick deep breath... I resemble that remark!! ;) ) No, actually, the way I normally structure my code is on each page I do the following: /* All includes and requires go here */ /

RE: [PHP-WIN] Re: Design Assistance

2005-01-20 Thread Jim MacDiarmid
Thanks for your thoughts Jason. In reference to the KISS method you mentioned.. ( taking a quick deep breath... I resemble that remark!! ;) ) No, actually, the way I normally structure my code is on each page I do the following: It's just when I look at my code it seems too simpl

Re: [PHP-WIN] Design Assistance

2005-01-20 Thread trystano
Check this threrad out on Sitepoint forums. It doesn't exactly specify an exact way of doing things, but more so is a strong debate amoungst professional what they seem the best approach is...because after all, there is no 'CORRECT' way of it :) http://www.sitepoint.com/forums/showthread.php?t=

[PHP-WIN] Re: Design Assistance

2005-01-20 Thread Jason Barnett
Jim MacDiarmid wrote: I'm hoping someone can help me with some design thinking.. I'm still fairly new to php and most of my scripts are written in a rather procedural format. I'd like to try start thinking in a more object-oriented way. The There's no reason why you *have* to use objects. Heck

[PHP-WIN] Design Assistance

2005-01-20 Thread Jim MacDiarmid
I'm hoping someone can help me with some design thinking.. I'm still fairly new to php and most of my scripts are written in a rather procedural format. I'd like to try start thinking in a more object-oriented way. The piece I'm working on is rather simple but I'm not sure how to arrange things

RE: [PHP-WIN] Page not displaying all my data

2005-01-20 Thread Warren Vail
Louis, A long shot but does one of the rows contain a "<" less than character in one of the data elements? Warren Vail > -Original Message- > From: Louis Young [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 20, 2005 12:11 AM > To: [EMAIL PROTECTED]; php-windows@lists.php.net > Subje

[PHP-WIN] Page not displaying all my data

2005-01-20 Thread Louis Young
Hi there I'm looping through a table and displaying data for each record, but the page just stops in the middle of nowhere. Is there a configuration setting somewhere that could be causing this? The code looks like this: while($row=mssql_fetch_array($rsElecTrans)) { ?>