Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Re: Re: Database Design

by CubicSpline (Friar)
on Aug 30, 2002 at 19:09 UTC ( [id://194218]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Database Design
in thread Reading data from mySQL into hashes and manipulation of hashes

What is being suggested by more than one person is to simplify your database by creating another table to your data is more easily obtained. The suggestion given above is a good one and might look like this:

--------------------------------------------------------- | Table name: polls | --------------------------------------------------------- | poll_no | date_begun | date_ended | begun_by | descrip| --------------------------------------------------------- ------------------------------------------------- | Table name: votes | ------------------------------------------------- | poll_no | option_no | option_text | num_votes | -------------------------------------------------

Now think about how you'd approach your problem given that you have a more normalized database to work with.

~CubicSpline
"No one tosses a Dwarf!"

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://194218]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (1)
As of 2024-04-26 02:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found