Results 1 to 2 of 2

Thread: get different numbers of random quotes on html from different folders

  1. #1
    Join Date
    Jul 2007
    Posts
    27
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default get different numbers of random quotes on html from different folders

    Hello

    Don't know if its possible:

    I have several folders on different topics with quotes. The quotes are separated by divider.(*)
    In an html or php page I would like to have random quotes from these different folders and it should be possible to define how many random quotes from which folder to write it into the html or php page
    for example,

    3 quotes from folder on topic1
    5 quotes from folder on topic2
    6 quotes from folder on topic 3

    Thanks

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,372
    Thanks
    77
    Thanked 3,421 Times in 3,382 Posts
    Blog Entries
    12

    Default

    Unless you use relatively uniform naming conventions for all folders and files, PHP would be the way to go. This, however, is pretty complex, not generally what we do here. If you could post a link to what you have so far, it would help me (possibly others interested in assisting you) to make this happen. Even if all you have so far are the folders with the various topical quotes in each folder, seeing that would assist us in helping you.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Similar Threads

  1. Help with Quotes, random and number
    By Amotne1 in forum JavaScript
    Replies: 1
    Last Post: 10-11-2016, 03:27 PM
  2. Random Quotes viewer
    By nawafpower in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 03-19-2012, 10:39 PM
  3. Random Quotes Script Needed
    By ArnyVee in forum Looking for such a script or service
    Replies: 1
    Last Post: 05-04-2011, 01:59 PM
  4. Script to show random quotes
    By Ryan Fitton in forum Looking for such a script or service
    Replies: 8
    Last Post: 12-29-2007, 02:41 PM
  5. exploring random numbers
    By sukanya.paul in forum PHP
    Replies: 1
    Last Post: 05-09-2007, 07:00 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •