Useful function perhaps...

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Toby Inkster

    Useful function perhaps...



    --
    Toby A Inkster BSc (Hons) ARCS
    Contact Me ~ http://tobyinkster.co.uk/contact

  • Edwin van der Vaart

    #2
    Re: Useful function perhaps...

    Toby Inkster wrote:[color=blue]
    > http://examples.tobyinkster.co.uk/inc_dt.phps[/color]
    What does't do.?
    --
    Edwin van der Vaart
    http://www.semi-conductor.nl/ Links to Semiconductors sites
    http://www.evandervaart.nl/ Under construction

    explicitly no permission given to Forum4Designers to duplicate this post.

    Comment

    • Roy Schestowitz

      #3
      Re: Useful function perhaps...

      __/ [Edwin van der Vaart] on Saturday 03 September 2005 11:26 \__
      [color=blue]
      > Toby Inkster wrote:[color=green]
      >>
      >> http://examples.tobyinkster.co.uk/inc_dt.phps[/color]
      >
      > What does't do.?[/color]

      What was it implemented /for/?

      <snip>

      display_table - Displays a searchable, sortable table.

      </snip>

      Roy

      --
      Roy S. Schestowitz | "Double your drive space - delete Windows"
      http://Schestowitz.com | SuSE Linux | PGP-Key: 74572E8E
      4:50pm up 10 days 5:01, 3 users, load average: 1.90, 1.15, 0.84

      Comment

      • Toby Inkster

        #4
        Re: Useful function perhaps...

        Edwin van der Vaart wrote:[color=blue]
        > Toby Inkster wrote:
        >[color=green]
        >> http://examples.tobyinkster.co.uk/inc_dt.phps[/color]
        >
        > What does't do.?[/color]

        Not sure if you're asking "what does it do?" or "what doesn't it do?".

        To answer both though: it doesn't slice, and it doesn't dice. It does
        however, once pointed at a table of data stored in an SQL database,
        generate a nice HTML table of data, plus a form that allows you to search
        and sort that data.

        I have now put up a demonstration of "inc_dt" in action:



        (In case you're interested, the data table it is searching is the data
        used to build the <link> elements, navigation bar and site map on my site.)

        --
        Toby A Inkster BSc (Hons) ARCS
        Contact Me ~ http://tobyinkster.co.uk/contact

        Comment

        • Toby Inkster

          #5
          Re: Useful function perhaps...

          Roy Schestowitz wrote:
          [color=blue]
          > What was it implemented /for/?[/color]

          I often have the need to present large (1000+ rows) tables of data.

          --
          Toby A Inkster BSc (Hons) ARCS
          Contact Me ~ http://tobyinkster.co.uk/contact

          Comment

          • Roy Schestowitz

            #6
            Re: Display of Large Tables using PHP

            __/ [Toby Inkster] on Saturday 03 September 2005 17:13 \__
            [color=blue]
            > Roy Schestowitz wrote:
            >[color=green]
            >> What was it implemented /for/?[/color]
            >
            > I often have the need to present large (1000+ rows) tables of data.[/color]

            Is it by any chance related to your latest project (http://message-id.net
            for those who have just joined us)?

            Roy

            --
            Roy S. Schestowitz | /earth: file system full
            http://Schestowitz.com | SuSE Linux | PGP-Key: 74572E8E
            6:20pm up 10 days 6:31, 3 users, load average: 1.35, 0.62, 0.42

            Comment

            • Edwin van der Vaart

              #7
              Re: Useful function perhaps...

              Toby Inkster wrote:[color=blue]
              > Edwin van der Vaart wrote:[color=green]
              >>Toby Inkster wrote:
              >>[color=darkred]
              >>>http://examples.tobyinkster.co.uk/inc_dt.phps[/color]
              >>
              >>What does't do.?[/color]
              >
              > Not sure if you're asking "what does it do?" or "what doesn't it do?".[/color]
              The question was "what does it do".
              I thought I can shorten the sentence "What does it do?" into "What
              does't do?". The same as "It's do...".
              [color=blue]
              > To answer both though: it doesn't slice, and it doesn't dice. It does
              > however, once pointed at a table of data stored in an SQL database,
              > generate a nice HTML table of data, plus a form that allows you to search
              > and sort that data.
              >
              > I have now put up a demonstration of "inc_dt" in action:
              > http://examples.tobyinkster.co.uk/de..._of_inc_dt.php
              > http://examples.tobyinkster.co.uk/de...of_inc_dt.phps[/color]
              Thanks for the info.
              [color=blue]
              > (In case you're interested, the data table it is searching is the data
              > used to build the <link> elements, navigation bar and site map on my site.)[/color]
              Thanks but no thank you.
              --
              Edwin van der Vaart
              http://www.semi-conductor.nl/ Links to Semiconductors sites
              http://www.evandervaart.nl/ Persoonlijke website
              Explicitly no permission given to Forum4Designers to duplicate this post.

              Comment

              • Toby Inkster

                #8
                Re: Display of Large Tables using PHP

                Roy Schestowitz wrote:
                [color=blue]
                > Is it by any chance related to your latest project (http://message-id.net
                > for those who have just joined us)?[/color]

                Nope -- I always have several things on the go at once. :-)

                --
                Toby A Inkster BSc (Hons) ARCS
                Contact Me ~ http://tobyinkster.co.uk/contact

                Comment

                • Neredbojias

                  #9
                  Re: Useful function perhaps...

                  With neither quill nor qualm, Toby Inkster quothed:
                  [color=blue]
                  > Edwin van der Vaart wrote:[color=green]
                  > > Toby Inkster wrote:
                  > >[color=darkred]
                  > >> http://examples.tobyinkster.co.uk/inc_dt.phps[/color]
                  > >
                  > > What does't do.?[/color]
                  >
                  > Not sure if you're asking "what does it do?" or "what doesn't it do?".[/color]

                  Edwin's Dutch so he talks like he has a cigar in his mouth.

                  --
                  Neredbojias
                  Contrary to popular belief, it is believable.

                  Comment

                  • Neredbojias

                    #10
                    Re: Display of Large Tables using PHP

                    With neither quill nor qualm, Toby Inkster quothed:
                    [color=blue]
                    > Roy Schestowitz wrote:
                    >[color=green]
                    > > Is it by any chance related to your latest project (http://message-id.net
                    > > for those who have just joined us)?[/color]
                    >
                    > Nope -- I always have several things on the go at once. :-)[/color]

                    'Know what ya mean. Nothing beats a threesome at the local "Go-Go A-
                    Go" exotic dance club.

                    --
                    Neredbojias
                    Contrary to popular belief, it is believable.

                    Comment

                    • Edwin van der Vaart

                      #11
                      Re: Useful function perhaps...

                      Neredbojias wrote:[color=blue]
                      > With neither quill nor qualm, Toby Inkster quothed:[color=green]
                      >>Edwin van der Vaart wrote:[color=darkred]
                      >>>Toby Inkster wrote:
                      >>>
                      >>>>http://examples.tobyinkster.co.uk/inc_dt.phps
                      >>>
                      >>>What does't do.?[/color]
                      >>
                      >>Not sure if you're asking "what does it do?" or "what doesn't it do?".[/color]
                      >
                      > Edwin's Dutch so he talks like he has a cigar in his mouth.[/color]
                      You want one too
                      --
                      Edwin van der Vaart
                      http://www.semi-conductor.nl/ Links to Semiconductors sites
                      http://www.evandervaart.nl/ Persoonlijke website
                      Explicitly no permission given to Forum4Designers to duplicate this post.

                      Comment

                      • Roy Schestowitz

                        #12
                        Re: Display of Large Tables using PHP

                        __/ [Toby Inkster] on Saturday 03 September 2005 22:30 \__
                        [color=blue]
                        > Roy Schestowitz wrote:
                        >[color=green]
                        >> Is it by any chance related to your latest project (http://message-id.net
                        >> for those who have just joined us)?[/color]
                        >
                        > Nope -- I always have several things on the go at once. :-)[/color]

                        It is a valuable approach to work that can easily be endured. Whenever one
                        piece of work becomes a bore or reaches a jam, you can divert your
                        attention elsewhere while still making valuable progress.

                        Having said that, the ideal situation involves the investment of /all/
                        resources to complete one task at the time (caching comes to mind, equiv.
                        to short-term memory). While computers can do it, the human psychology
                        cannot. So, multi-tasking is probably the best path to productive living
                        that's also enjoyable.

                        Best of luck!

                        Roy

                        --
                        Roy S. Schestowitz | "ASCII stupid question, get a stupid ANSI"
                        http://Schestowitz.com | SuSE Linux | PGP-Key: 74572E8E
                        7:50am up 10 days 20:01, 3 users, load average: 0.13, 0.18, 0.27

                        Comment

                        • Toby Inkster

                          #13
                          Re: Useful function perhaps...

                          Edwin van der Vaart wrote:
                          [color=blue]
                          > I thought I can shorten the sentence "What does it do?" into "What
                          > does't do?".[/color]

                          Nope. You cannot just contract any word that takes your fancy. Almost all
                          English contractions take the form of:

                          1. a negation (something with "n't" added to the end); or

                          2. a combination of a pronoun (I/you/he/she/it/we/they/etc)
                          with an auxilary verb (have/shall/will/am/would/should/etc).

                          Almost any other contraction in written English is incorrect.

                          Notable exceptions:

                          'til until
                          'cause because

                          And, rather poetic, but rarely used:

                          'tis it is
                          'twas it was
                          'neath beneath
                          e'en even
                          e'er/ne'er ever/never

                          In spoken English, there are a few more.

                          --
                          Toby A Inkster BSc (Hons) ARCS
                          Contact Me ~ http://tobyinkster.co.uk/contact

                          Comment

                          • Neredbojias

                            #14
                            Re: Useful function perhaps...

                            With neither quill nor qualm, Edwin van der Vaart quothed:
                            [color=blue]
                            > Neredbojias wrote:[color=green]
                            > > With neither quill nor qualm, Toby Inkster quothed:[color=darkred]
                            > >>Edwin van der Vaart wrote:
                            > >>>Toby Inkster wrote:
                            > >>>
                            > >>>>http://examples.tobyinkster.co.uk/inc_dt.phps
                            > >>>
                            > >>>What does't do.?
                            > >>
                            > >>Not sure if you're asking "what does it do?" or "what doesn't it do?".[/color]
                            > >
                            > > Edwin's Dutch so he talks like he has a cigar in his mouth.[/color]
                            > You want one too[/color]

                            Nah, cigarettes are my forte. I prefer subtle suicide to the more
                            robust flavor.

                            --
                            Neredbojias
                            Contrary to popular belief, it is believable.

                            Comment

                            • Geoff Berrow

                              #15
                              Re: Useful function perhaps...

                              I noticed that Message-ID: <ntmqu2-bch.ln1@ophelia .g5n.co.uk> from Toby
                              Inkster contained the following:
                              [color=blue][color=green]
                              >> I thought I can shorten the sentence "What does it do?" into "What
                              >> does't do?".[/color]
                              >
                              >Nope. You cannot just contract any word that takes your fancy.[/color]

                              Besides, 'doest' is already a word, though it's use is archaic.
                              (second person singular present tense of do)
                              --
                              Geoff Berrow (put thecat out to email)
                              It's only Usenet, no one dies.
                              My opinions, not the committee's, mine.
                              Simple RFDs http://www.ckdog.co.uk/rfdmaker/

                              Comment

                              Working...