RE: [PHP] Paged Results Set in MySQL DB with one result

2006-05-15 Thread Chris W. Parker
tedd mailto:[EMAIL PROTECTED] on Friday, May 12, 2006 12:23 PM said: That's as it should be -- and technically, Next did appear so the page wasn't blank. Splitting hairs aside, a user, civilian or not, would not expect they need to click Next from a blank page to get to the content they

Re: [PHP] Paged Results Set in MySQL DB with one result

2006-05-12 Thread tedd
At 5:06 PM -0500 5/11/06, Richard Lynch wrote: On Thu, May 11, 2006 1:20 pm, tedd wrote: Does this qualify? http://xn--ovg.com/ajax_page Well, on page 1, I can't get it to re-size at all... So, no, it doesn't qualify. :-) You didn't say it must be re-sizable. Okay, let me get

Re: [PHP] Paged Results Set in MySQL DB with one result

2006-05-12 Thread tedd
At 5:06 PM -0500 5/11/06, Richard Lynch wrote: I believe the OP wanted Three: Show only as much text as nicely fits in the browser, with more for the next page... Try this: http://xn--ovg.com/ajax_page1 Please understand: a) It's a rough estimation as to how many characters will fit; b)

Re: [PHP] Paged Results Set in MySQL DB with one result

2006-05-12 Thread Porpoise
tedd [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Try this: http://xn--ovg.com/ajax_page1 Please understand: a) It's a rough estimation as to how many characters will fit; b) It doesn't handle zoom levels well yet; c) There will be variations between browsers and OS's --

Re: [PHP] Paged Results Set in MySQL DB with one result

2006-05-12 Thread Mike
I am not seeing a blank page here. Porpoise wrote: tedd [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Try this: http://xn--ovg.com/ajax_page1 Please understand: a) It's a rough estimation as to how many characters will fit; b) It doesn't handle zoom levels well yet; c)

Re: [PHP] Paged Results Set in MySQL DB with one result

2006-05-12 Thread tedd
At 6:03 PM +0100 5/12/06, Porpoise wrote: tedd [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Try this: http://xn--ovg.com/ajax_page1 Please understand: a) It's a rough estimation as to how many characters will fit; b) It doesn't handle zoom levels well yet; c) There will be

Re: [PHP] Paged Results Set in MySQL DB with one result

2006-05-12 Thread Brad Bonkoski
In Exploder 7 beta 2 I actually get an access denied error... but works in firefox. Mike wrote: I am not seeing a blank page here. Porpoise wrote: tedd [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Try this: http://xn--ovg.com/ajax_page1 Please understand: a) It's a

Re: [PHP] Paged Results Set in MySQL DB with one result

2006-05-12 Thread Joe Henry
On Friday 12 May 2006 12:01 pm, tedd wrote: It shouldn't be blank. There should be a Next/Previous button -- isn't there? If so, then click Next If not, please tell me. Works: Suse Linux 10.x/Firefox 1.0.7 Windows XP/Firefox 1.5.0.3 Mac OS 10.4.6/Safari 2.0.3

RE: [PHP] Paged Results Set in MySQL DB with one result

2006-05-12 Thread Chris W. Parker
tedd mailto:[EMAIL PROTECTED] on Friday, May 12, 2006 11:01 AM said: At 6:03 PM +0100 5/12/06, Porpoise wrote: tedd [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Try this: http://xn--ovg.com/ajax_page1 Eerrrm... Blank Page!?! It shouldn't be blank.

Re: [PHP] Paged Results Set in MySQL DB with one result

2006-05-12 Thread tedd
At 2:08 PM -0400 5/12/06, Brad Bonkoski wrote: In Exploder 7 beta 2 I actually get an access denied error... but works in firefox. I think that's my server. Ajax is strange -- the requests are not sequential. In other words, if you click next twice, you may end up with the first click

RE: [PHP] Paged Results Set in MySQL DB with one result

2006-05-12 Thread tedd
At 11:51 AM -0700 5/12/06, Chris W. Parker wrote: tedd mailto:[EMAIL PROTECTED] on Friday, May 12, 2006 11:01 AM said: At 6:03 PM +0100 5/12/06, Porpoise wrote: tedd [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Try this: http://xn--ovg.com/ajax_page1

Re: [PHP] Paged Results Set in MySQL DB with one result

2006-05-12 Thread Porpoise
tedd [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] At 6:03 PM +0100 5/12/06, Porpoise wrote: Eerrrm... Blank Page!?! It shouldn't be blank. There should be a Next/Previous button -- isn't there? If so, then click Next If not, please tell me. Err. Well, yes

Re: [PHP] Paged Results Set in MySQL DB with one result

2006-05-11 Thread tedd
At 8:35 PM -0500 5/4/06, Richard Lynch wrote: Synopsis: You could just Javascript and browser info to dynamically layout text to fit available space and word-wrap nicely. Find me anybody on the planet who has actually successfully done this. Even easier: Point to ONE existing website

Re: [PHP] Paged Results Set in MySQL DB with one result

2006-05-11 Thread Richard Lynch
On Thu, May 11, 2006 10:09 am, tedd wrote: At 8:35 PM -0500 5/4/06, Richard Lynch wrote: Synopsis: You could just Javascript and browser info to dynamically layout text to fit available space and word-wrap nicely. Find me anybody on the planet who has actually successfully done this.

Re: [PHP] Paged Results Set in MySQL DB with one result

2006-05-11 Thread tedd
Does this qualify? http://xn--ovg.com/ajax_page Well, on page 1, I can't get it to re-size at all... So, no, it doesn't qualify. :-) You didn't say it must be re-sizable. Okay, let me get this right. If the page could be resized, and the text would dynamically fill the space, and

Re: [PHP] Paged Results Set in MySQL DB with one result

2006-05-11 Thread Porpoise
Richard Lynch [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Thu, May 11, 2006 10:09 am, tedd wrote: At 8:35 PM -0500 5/4/06, Richard Lynch wrote: But maybe I've just missed the boat. Has been known to happen. :-) Does this qualify? http://xn--ovg.com/ajax_page Well,

Re: [PHP] Paged Results Set in MySQL DB with one result

2006-05-11 Thread Richard Lynch
On Thu, May 11, 2006 1:20 pm, tedd wrote: Does this qualify? http://xn--ovg.com/ajax_page Well, on page 1, I can't get it to re-size at all... So, no, it doesn't qualify. :-) You didn't say it must be re-sizable. Okay, let me get this right. If the page could be resized, and the

Re: [PHP] Paged Results Set in MySQL DB with one result

2006-05-05 Thread Edward Vermillion
On May 4, 2006, at 11:16 PM, Jochem Maas wrote: Richard Lynch wrote: On Thu, May 4, 2006 10:15 am, Edward Vermillion wrote: On May 4, 2006, at 4:16 AM, Richard Lynch wrote: On Wed, May 3, 2006 6:57 pm, Jochem Maas wrote: ... Yes. Usually. Mostly sometimes. For something like a Forum

Re: [PHP] Paged Results Set in MySQL DB with one result

2006-05-04 Thread Jochem Maas
Miles Thompson wrote: At 03:51 PM 5/3/2006, Phillip S. Baker wrote: Greetings Gents, ... However - why do you think paging an article improves readability? What it does do is control the amount of text you display on a page so you can profitably surround it with advertising.

Re: [PHP] Paged Results Set in MySQL DB with one result

2006-05-04 Thread Richard Lynch
On Wed, May 3, 2006 1:51 pm, Phillip S. Baker wrote: I have an interesting problem I would like some ideas on for a solution. I cannot seem to find any code examples on the net, though I might not be looking in the right place really. I have some articles stored in a MySQL DB. What I want

Re: [PHP] Paged Results Set in MySQL DB with one result

2006-05-04 Thread Richard Lynch
On Wed, May 3, 2006 6:57 pm, Jochem Maas wrote: a. who said anything about sessions? Jay did. He suggested sucking down the whole article, paginating it all, and cramming the pages into session, presumably so you don't have to suck down the whole article again. Which, by the way, is what I

Re: [PHP] Paged Results Set in MySQL DB with one result

2006-05-04 Thread Jochem Maas
Richard Lynch wrote: On Wed, May 3, 2006 6:57 pm, Jochem Maas wrote: a. who said anything about sessions? Jay did. dang - I didn't read properly - apologies go out to Edward for that! He suggested sucking down the whole article, paginating it all, and cramming the pages into session,

Re: [PHP] Paged Results Set in MySQL DB with one result

2006-05-04 Thread Paul Novitski
At 11:51 AM 5/3/2006, Phillip S. Baker wrote: I have some articles stored in a MySQL DB. What I want is if the article is above a certain length in characters, to page article through a few pages for site readability. So I would want to print X number of words/characters. Save the where the

RE: [PHP] Paged Results Set in MySQL DB with one result

2006-05-04 Thread Jay Blanchard
[snip] There's a fundamental problem with trying to slice text into resizable web pages the same way it's sliced on paper. Paper pages work because they're set in a fixed font size. When you change the ratio of font size to column width, the places where lines of text wrap changes. Because

Re: [PHP] Paged Results Set in MySQL DB with one result

2006-05-04 Thread tedd
At 4:30 AM -0700 5/4/06, Paul Novitski wrote: At 11:51 AM 5/3/2006, Phillip S. Baker wrote: I have some articles stored in a MySQL DB. What I want is if the article is above a certain length in characters, to page article through a few pages for site readability. So I would want to print X

Re: [PHP] Paged Results Set in MySQL DB with one result

2006-05-04 Thread Edward Vermillion
On May 4, 2006, at 4:16 AM, Richard Lynch wrote: On Wed, May 3, 2006 6:57 pm, Jochem Maas wrote: a. who said anything about sessions? Jay did. He suggested sucking down the whole article, paginating it all, and cramming the pages into session, presumably so you don't have to suck down the

Re: [PHP] Paged Results Set in MySQL DB with one result

2006-05-04 Thread Paul Novitski
At 07:12 AM 5/4/2006, tedd wrote: If the text is organized into paragraphs, which I can't imagine it not being, then the solution can be found in using a combination of javascript and php. Javascript can detect the size (height width) of window the user is currently using and the web site

Re: [PHP] Paged Results Set in MySQL DB with one result

2006-05-04 Thread Richard Lynch
On Thu, May 4, 2006 9:12 am, tedd wrote: [snip] Synopsis: You could just Javascript and browser info to dynamically layout text to fit available space and word-wrap nicely. Find me anybody on the planet who has actually successfully done this. Even easier: Point to ONE existing website that

Re: [PHP] Paged Results Set in MySQL DB with one result

2006-05-04 Thread Richard Lynch
On Thu, May 4, 2006 10:15 am, Edward Vermillion wrote: On May 4, 2006, at 4:16 AM, Richard Lynch wrote: On Wed, May 3, 2006 6:57 pm, Jochem Maas wrote: the marker is either there or not - and if it'd borked (e.g. '!-- PAGE MAR') then it would break the page, sure - but so could ANY broken

Re: [PHP] Paged Results Set in MySQL DB with one result

2006-05-04 Thread Jochem Maas
Richard Lynch wrote: On Thu, May 4, 2006 10:15 am, Edward Vermillion wrote: On May 4, 2006, at 4:16 AM, Richard Lynch wrote: On Wed, May 3, 2006 6:57 pm, Jochem Maas wrote: ... Yes. Usually. Mostly sometimes. For something like a Forum or a CMS with minimal EZ tags for the admin on

RE: [PHP] Paged Results Set in MySQL DB with one result

2006-05-03 Thread Jay Blanchard
[snip] Does anyone have any ideas?? [/snip] Quite frankly, yes. Question is, how many words do you want to show up on a 'page'? Is the design liquid or rigid? A basic formula (pseudo-code, will not actually work in the PHP parser); Select article body from database. Place all of the words in

Re: [PHP] Paged Results Set in MySQL DB with one result

2006-05-03 Thread Jochem Maas
Phillip S. Baker wrote: Greetings Gents, I have an interesting problem I would like some ideas on for a solution. I was going to make a comment about the use of 'interesting' but thought better of it. ;-) I cannot seem to find any code examples on the net, though I might not be looking in

Re: [PHP] Paged Results Set in MySQL DB with one result

2006-05-03 Thread Edward Vermillion
Or just break the page up into sections and grab subsequent sections from the DB. (?) That way you could easily code in a 'jump to page 3 from page 6' type function, and your still just grabbing data and spitting it out with out worrying about sessions getting mangled or parsing for html

Re: [PHP] Paged Results Set in MySQL DB with one result

2006-05-03 Thread Jochem Maas
Edward Vermillion wrote: Or just break the page up into sections and grab subsequent sections from the DB. (?) that, or any number of other ideas. but I know from experience that offering seperate records for each section generally leads to a less intuitive (read: easy to use) editing

Re: [PHP] Paged Results Set in MySQL DB with one result

2006-05-03 Thread Miles Thompson
At 03:51 PM 5/3/2006, Phillip S. Baker wrote: Greetings Gents, I have an interesting problem I would like some ideas on for a solution. I cannot seem to find any code examples on the net, though I might not be looking in the right place really. I have some articles stored in a MySQL DB.

Re: [PHP] Paged Results Set in MySQL DB with one result

2006-05-03 Thread Chris
Phillip S. Baker wrote: Greetings Gents, I have an interesting problem I would like some ideas on for a solution. I cannot seem to find any code examples on the net, though I might not be looking in the right place really. I have some articles stored in a MySQL DB. What I want is if the