Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3

Thread: Timeline

  1. #1
    Junior Member
    Join Date
    Jul 2015
    Posts
    1
    Member #
    50973

    Timeline

    Hi
    How do I create a timeline
    Each user can shared a photo or
    text
    What the tables do I need?
    My database is MySQL And I use PHP

  2.  

  3. #2
    Senior Member brandMatt's Avatar
    Join Date
    Oct 2015
    Location
    St .Catharines Ontario
    Posts
    240
    Member #
    52164
    Liked
    51 times
    This is a tall order, more information is needed to help you on this one. What features would be wanted in this 'timeline'(gallery?)?
    Maybe I am wrong to assume it's a gallery. Regardless post back with some more info please.
    I am hoping this one's not a drive-by-posting, it sounds fun to assist with.

  4. #3
    Junior Member
    Join Date
    Jan 2016
    Posts
    14
    Member #
    53168
    Liked
    1 times
    If you are trying to do something like the Facebook timeline it's not difficult at all. You only need to obtain the texts or photos from the database, in descending order. Then, create in PHP a while or for loop (with the size of the elements fetched) that will do in each iteration: show the corresponding text of photo and draw a vertical line or add a similar image.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 12:21 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com