944,179 Members | Top Members by Rank

Ad:
  • MySQL Discussion Thread
  • Unsolved
  • Views: 2873
  • MySQL RSS
Feb 22nd, 2005
0

Database Question From Newbie

Expand Post »
I'm getting ready to make a database of my baseball cards and wanted to know how would I go about making a searchable database of my cards?
Similar Threads
Reputation Points: 11
Solved Threads: 0
Newbie Poster
shortd81 is offline Offline
23 posts
since Sep 2004
Feb 25th, 2005
0

Re: Database Question From Newbie

Well, firstly, what do you have?
Not the cards.... the database!

I'm assuming you have mysql, due to the forum.....
So, are you going to make it text based, typing everything... or going to get a program to make the process a little easier, something like navcator that, (works like MS Access!)?

As for the DB itself, I assume you know what details you wish to enter...name, number, description, details etc....unique id.....then all you do is make things indexed....particularly the unique id, name and number.

Does that make any sense?
Reputation Points: 63
Solved Threads: 12
Posting Pro in Training
autocrat is offline Offline
427 posts
since Feb 2005
Mar 1st, 2005
0

Re: Database Question From Newbie

Searchable database eh? Well, first off you need to make the layout for your table.

Make a table, something like 'cards' and then you need to figure out which columns you'll need (you can add and remove them later.)

For instance, columns could be something like:

id (this is essential - and should be incrementing for each card, so that your program can easily find a card using their ID)
name (card name)
(other columns that are suitable)

Then later on, you can make a PHP program that searches for different values in different columns, and you can even run wildcard searches (like *est* would find test, testing, etc.)
Team Colleague
Reputation Points: 53
Solved Threads: 5
PHP/vBulletin Guru
Gary King is offline Offline
360 posts
since Nov 2003

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in MySQL Forum Timeline: MySQL Functions W/ Offline Languages
Next Thread in MySQL Forum Timeline: Please school me in PHP script installation.





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC