C++ Arrays – Chapter 9 Simple data type – • each variable can only :: File Format: PDF/Adobe Acrobat - View as HTMLeach variable can only store one value at a time (int, char, float, etc) Maximum number of values in file will be 50. Program should prompt user for http://web.cs.unlv.edu/lee/cs135/pdflectures/arrays_ch9.pdfHOME | I am building a database (obviously MySQL) in which I want to have a comparative list of computer hardware. One of the things I want to do is have a list of features, say 40 long, in a table. Then, I want to be able to select which of the these features a particular motherboard has, and store that in a motherboard table (along with all its other information). min, max, avg ? - ProgrammingTalk:: 4 posts - Last post: Dec 8, 2008'declare a variable to store the value entered by the user 'check to see if the contents of the text box is a number http://www.programmingtalk.com/showthread.php?p=162688HOME |
Right now, the best way I can think to do this is to create a text field in the motherboard database that will store a comma delimited list of numbers, which will correspond to the unique IDs of the Features table. The only problem I have there is that it will be a pain to code this in PHP, just because of the arrays, loops, etc need to encode it (edit the data) and decode it (display the data in the table).
Are there any other options that maybe I am unaware of for MySQL on this type of problem? LEGO on my mind:: Returns the current value of sensor 2. SetVar(5,9,2), Store in variable 5 the value of sensor 2. SetVar(5,2,10), Store in variable 5 the value of number 10 http://ericbrok.com/legomind/projects/robo/subframe.htmHOME |
bump
You can try a many to one relationship table.
Or you can look in the function checkipban() in admin/functions.php to see how they explode the space separated values in to an array of values. ;)
Nortel Unveils Vision, Strategy for Israeli High-Performance Net
Busy Friday Leads to Strong Close for Net Stocks
|