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: News Poster

  1. #1
    Member
    Join Date
    Sep 2003
    Posts
    84
    Member #
    2930
    Heya all im currently working on my bands website and some of you may have come accorss it in 'hows my site' Im currently working on the news section. Im wanting all the guys in the band to be able to post news from a form. I can do that pretty easy but im wanting a mug shot of the poster to be placed in the top right hand corner. As ive never dealt with images being drawn from databases before i was wondering if anyone can throw me over some coding?

    You can check out my site to see what i mean as ive just done an example in php.

    http://www.boxofficebeauty.mypfc.com

    Thanks

  2.  

  3. #2
    Senior Member karinne's Avatar
    Join Date
    Dec 2003
    Location
    Aylmer QC Canada
    Posts
    1,607
    Member #
    4335
    Liked
    8 times
    I'd create a table with the users and a link to their mug shot. Kinda like

    Code:
    uid  users   mugshot
     1    joe     joe.jpg
    then when they post you add the uid (userid) to the news table and when you display you just grab the info from the users table with the uid.

    Did that make sense
    [a web design portfolio - Currently NOT AVAILABLE for work | web design | Re-coding | PSD-to-HTML]
    I'm also on: virb - facebook - twitter - flickr - del.icio.us

  4. #3
    Member
    Join Date
    Sep 2003
    Posts
    84
    Member #
    2930
    Erm no not really? Kinda like just having the url of the image contained in the database then when they post it shows up? im not entirely sure?


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 11:58 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com