Author Topic: MySql Data to html webpage  (Read 235 times)

NJHeart2Heart

  • New Member
  • *
  • Posts: 2
  • Karma: 1
    • View Profile
MySql Data to html webpage
« on: February 29, 2012, 10:02:25 AM »
Hello all,
I am completely new to php/MySQL and am still a beginner at html/css, though I know the basic principles.

I am creating a website that lists individual collectibles on their own page, with certain information about each one.  My idea is to find a way to create fields in my html that will, based on a unique ID already filled in, will pull the rest of the information from each field I use.
 
In other words it will be structured something like this:

Unique ID:  _____ (I will fill in manually)
Name: _____ Breed: ______ Age: _____ Color: _______

It won't be formatted quite like that but you get the idea.  I want the rest of the information to autofill based on my unique ID. 
I currently have an excel file with my data. I know how to convert to .csv, then create a database with MySQL.  What I don't know is how to get the information from the database to the fields in my web page.

Thank you in advance for your help.
Dawn

richei

  • Expert PHP Helper
  • Senior Member
  • *****
  • Posts: 1141
  • Karma: 23
    • View Profile
Re: MySql Data to html webpage
« Reply #1 on: February 29, 2012, 11:17:04 AM »
I would suggest taking a look at the php tutorials first, namely http://www.phphelp.com/tutorial/displaying-sql-query-results.html.  after that, if you still don't know what to do, we'll be happy to help.

NJHeart2Heart

  • New Member
  • *
  • Posts: 2
  • Karma: 1
    • View Profile
Re: MySql Data to html webpage
« Reply #2 on: February 29, 2012, 11:33:13 AM »
Thank you. I'll do that first.  I didn't know where to start.
Dawn

paddysmith

  • New Member
  • *
  • Posts: 2
  • Karma: -1
    • View Profile
Re: MySql Data to html webpage
« Reply #3 on: March 07, 2012, 02:24:07 AM »
Thanks a lot for sharing.....