RE: [PHP] Create table with varying results

2002-05-23 Thread David Freeman
> I have a search page that creates a dynamic table of results > from MS SQL Server. The table created on the web page does > not always get created properly for the same recordset. If it was me I'd be doing a "view source" on the displayed page and comparing what it looks like to what y

RE: [PHP] Create table with varying results

2002-05-23 Thread David Freeman
> I thought maybe I had some problems with formatting > variables in the HTML so I took all the formatting out of > the script so it is really basic now and still have the same > problem. I also thought maybe there were issues with the > data...i.e. with nulls and non-alpha-numeric char

RE: [PHP] Create table with varying results

2002-05-23 Thread David Freeman
My testing was on a Win box with apache/php and browser was ie5.5 - I haven't uploaded the test code to any of my lamp boxes to check it there but don't believe it would matter if I did. > Here is the source for the page: Before testing your code I did make changes, I'll note them as we go...

RE: [PHP] Create table with varying results

2002-05-23 Thread Peter
l Message- From: Tim Greenleaf [mailto:[EMAIL PROTECTED]] Sent: Friday, 24 May 2002 9:00 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Create table with varying results Hi Miguel, Thanks for looking. It may take three or four times at most. I don't know if you scrolled the table each time b

Re: [PHP] Create table with varying results

2002-05-23 Thread Tim Greenleaf
Hi Miguel, Thanks for looking. It may take three or four times at most. I don't know if you scrolled the table each time but it is random and sometimes not apparent but here is the contents of an e-mail address cell at line 433. fredded width='22%' bgcolor='#FF'>department Other "e-mail" ce

Re: [PHP] Create table with varying results

2002-05-23 Thread Miguel Cruz
Like John, I tried several times (both Mac and Windows IE) and never got anything funny. How many times do you usually have to refresh before you see the problem? (I think I viewed it 4 times). miguel On Thu, 23 May 2002, Tim Greenleaf wrote: > The errors appear to be the result of strings not

RE: [PHP] Create table with varying results

2002-05-23 Thread John Holmes
't display there, and put it all at the beginning of the table. Look for anything like that. ---John Holmes... > -Original Message- > From: Tim Greenleaf [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 23, 2002 6:03 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Cre

Re: [PHP] Create table with varying results

2002-05-23 Thread Tim Greenleaf
Hi Miguel, The errors appear to be the result of strings not terminating properly from the PHP output. Then partial HTML code is inserted in cells or at the top of the table. I have stripped everything out and am now just creating a loop to build a table and still get the same errors. I have c

Re: [PHP] Create table with varying results

2002-05-23 Thread Miguel Cruz
What is the specific nature of the errors in the HTML? Are random characters missing/inserted, or does it look like something that could happen as a result of unexpected program behavior at a higher level? miguel On Thu, 23 May 2002, Tim Greenleaf wrote: > The source HTML (PHP Output) is somet

Re: [PHP] Create table with varying results

2002-05-23 Thread Tim Greenleaf
The source HTML (PHP Output) is sometimes correct and sometimes incorrect with the exact same script and SQL statement. The table is very basic. I thought maybe I had some problems with formatting variables in the HTML so I took all the formatting out of the script so it is really basic now and

Re: [PHP] Create table with varying results

2002-05-23 Thread Miguel Cruz
Are you using Internet Explorer for Windows to view the HTML? It has some rendering problems with complex tables that result in very erratic behavior in certain circumstances (which I have yet to understand). View the page in another browser, or better yet, view the source code. That's a better w

[PHP] Create table with varying results

2002-05-23 Thread Tim Greenleaf
I have a search page that creates a dynamic table of results from MS SQL Server. The table created on the web page does not always get created properly for the same recordset. Sometimes a field may have a black or red background color and if the same exact search is run again it will display pro