Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #12480
| From | "Beauregard T. Shagnasty" <a.nony.mous@example.invalid> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: Loop through array, change headings |
| Date | 2014-01-01 03:24 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <la01pi$v7q$1@dont-email.me> (permalink) |
| References | (1 earlier) <1muwjkgu5s0oj$.1f9jdj8mm94rc$.dlg@40tude.net> <l9viag$1vp$3@dont-email.me> <pu961g31cbxe$.1q7y2fudnvkb7$.dlg@40tude.net> <l9vs95$caf$1@dont-email.me> <1ikrupvz7e89l$.t5im5etkpl39.dlg@40tude.net> |
richard the sto0pid wrote: > Suppose I had a table that had 12 columns and 365 rows. Which would > represent a calendar. One row for every day; I suppose that could be some form of "calendar" - albeit a strange one. What will you do for Leap Year? Why do you need 11 extra fields? > What data would be in the cell for Feb, 31? Database tables have fields, not cells. A database is not a spreadsheet. There is no Feb 31. > There would be data only in the cells for that given column. That sentence is untranslatable. > row1 would be Jan 1, column 1. > row1 coluimns 2 through 12 would be blank. What would you want to place in 11 extra *fields* for each day? > According to you, I would need 12 tables. Nothing of the sort, just another untranslatable statement. It enforces the fact that you know absolutely nothing about database design, especially _relational_ database design. You continue to reinforce Denis's statement of your "comprehension of computer systems which appears to have started at nothing and continues to devolve backwards." While you're reading about Third Normal Form, also study Primary Keys and Foreign Keys. -- -bts -This space for rent, but the price is high
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Loop through array, change headings Adrienne Boswell <arbpen@yahoo.com> - 2013-12-31 21:08 +0000
Re: Loop through array, change headings Denis McMahon <denismfmcmahon@gmail.com> - 2013-12-31 21:22 +0000
Re: Loop through array, change headings Adrienne Boswell <arbpen@yahoo.com> - 2013-12-31 23:40 +0000
Re: Loop through array, change headings richard <noreply@example.com> - 2013-12-31 17:06 -0500
Re: Loop through array, change headings Denis McMahon <denismfmcmahon@gmail.com> - 2013-12-31 23:00 +0000
Re: Loop through array, change headings richard <noreply@example.com> - 2013-12-31 19:19 -0500
Re: Loop through array, change headings Denis McMahon <denismfmcmahon@gmail.com> - 2014-01-01 00:39 +0000
Re: Loop through array, change headings "Beauregard T. Shagnasty" <a.nony.mous@example.invalid> - 2014-01-01 00:56 +0000
Re: Loop through array, change headings Jerry Stuckle <jstucklex@attglobal.net> - 2013-12-31 20:50 -0500
Re: Loop through array, change headings richard <noreply@example.com> - 2013-12-31 21:08 -0500
Re: Loop through array, change headings Jerry Stuckle <jstucklex@attglobal.net> - 2013-12-31 21:43 -0500
Re: Loop through array, change headings "Beauregard T. Shagnasty" <a.nony.mous@example.invalid> - 2014-01-01 03:24 +0000
Re: Loop through array, change headings Denis McMahon <denismfmcmahon@gmail.com> - 2014-01-01 03:26 +0000
Re: Loop through array, change headings Arno Welzel <usenet@arnowelzel.de> - 2014-01-01 18:01 +0100
Re: Loop through array, change headings Norman Peelman <npeelman@cfl.rr.com> - 2014-01-02 06:23 -0500
Re: Loop through array, change headings Denis McMahon <denismfmcmahon@gmail.com> - 2014-01-02 13:09 +0000
Re: Loop through array, change headings "Peter H. Coffin" <hellsop@ninehells.com> - 2014-01-02 09:20 -0600
Re: Loop through array, change headings "Beauregard T. Shagnasty" <a.nony.mous@example.invalid> - 2014-01-02 15:39 +0000
Re: Loop through array, change headings Jerry Stuckle <jstucklex@attglobal.net> - 2014-01-02 10:52 -0500
Re: Loop through array, change headings "Beauregard T. Shagnasty" <a.nony.mous@example.invalid> - 2014-01-02 16:43 +0000
Re: Loop through array, change headings "Peter H. Coffin" <hellsop@ninehells.com> - 2014-01-05 18:23 -0600
Re: Loop through array, change headings "Peter H. Coffin" <hellsop@ninehells.com> - 2014-01-05 18:37 -0600
Re: Loop through array, change headings Denis McMahon <denismfmcmahon@gmail.com> - 2014-01-02 18:04 +0000
Re: Loop through array, change headings Arno Welzel <usenet@arnowelzel.de> - 2014-01-01 17:56 +0100
csiph-web