Page 1 of 2

saving poetry

Posted: Fri Nov 07, 2003 8:13 pm
by d3ad1ysp0rk
alright, i decided to be nice and make a site for my friends (plural) poetry.

i want to make it so they can log in, then submit the poem name and actual poem (in two input fields), and then it will save them both

at first i thought to use a db, but im not sure whether a variable could fit a whole poem in it..

then i thought of saving it to a file (fopen, fwrite, etc..), but i know theres probably a better way, cuz if they all contribute 10, thats 40 text files.. and a waste of space :P

so im just wondering whether a mysql variable can hold a whole poem, and if not, how you would go about saving and displaying them..

Posted: Fri Nov 07, 2003 8:45 pm
by qads
just use a TEXT field :D.

Posted: Fri Nov 07, 2003 9:31 pm
by d3ad1ysp0rk
thanks

TEXT fields = unlimited characters?

Posted: Fri Nov 07, 2003 9:33 pm
by qads
nope, i think its up to 10,000 or so characters, more then what you need.

Posted: Fri Nov 07, 2003 9:34 pm
by McGruff
Trying to insert
Mysql poetry
A brainwave: haiku!

Posted: Fri Nov 07, 2003 9:35 pm
by qads
8O :?

is this a joke? cos i didnt get it :lol:

Posted: Fri Nov 07, 2003 9:38 pm
by Jade
Not exactly, but big enough that you can fit a very, very, very long poem in one.... lol.

Posted: Fri Nov 07, 2003 9:43 pm
by McGruff
Seeker of wisdom
Check out the ancient masters
mysql.com

Posted: Fri Nov 07, 2003 9:45 pm
by Jade
hehe....do you know that someone actually suggested to me that I talk in nothing but code?? Sorry... i just had to say that. It would definately be a challenge. LOL!!

Jade

Posted: Fri Nov 07, 2003 9:47 pm
by qads
*cough*go eat ASP*cough*

Posted: Fri Nov 07, 2003 9:47 pm
by d3ad1ysp0rk
McGruff wrote:Trying to insert
Mysql poetry
A brainwave: haiku!
can you explain?

does that mean its a bad idea?

speak english ;) lol

Posted: Fri Nov 07, 2003 9:50 pm
by Jade
He is speaking english!!! He's just making fun of you...lol.

Posted: Fri Nov 07, 2003 9:51 pm
by McGruff
I have to admit
Haiku is a lazy hack
Better to use a text field.

Posted: Fri Nov 07, 2003 9:54 pm
by qads
so...you couldt tell us that in the first post?...wait till i find yelling shoes..ur gona get it today McGruff:P...

what the hell is a Haiku?..sounds like japs cartoons or soemthing lol, i'll checkout on mysql.com? :/

Posted: Fri Nov 07, 2003 9:58 pm
by qads
ohhh...so its a style of..poetry 8O ..well, atleast i was right about being it jap :P
argry japanese beaver wrote:Haiku is one of the most important form of traditional japanese poetry. Haiku is, today, a 17-syllable verse form consisting of three metrical units of 5, 7, and 5 syllables. Since early days, there has been confusion between the three related terms Haiku, Hokku and Haikai. The term hokku literally means "starting verse", and was the first starting link of a much longer chain of verses known as haika. Because the hokku set the tone for the rest of the poetic chain, it enjoyed a privileged position in haikai poetry, and it was not uncommon for a poet to compose a hokku by itself without following up with the rest of the chain.
Largely through the efforts of Masaoka Shiki, this independence was formally established in the 1890s through the creation of the term haiku. This new form of poetry was to be written, read and understood as an independent poem, complete in itself, rather than part of a longer chain.
Strictly speaking, then, the history of haiku begins only in the last years of the 19th century. The famous verses of such Edo-period (1600-1868) masters as Basho, Yosa Buson, and Kobayashi Issa are properly referred to as hokku and must be placed in the perspective of the history of haikai even though they are now generally read as independent haiku. In HAIKU for PEOPLE, both terms will be treated equally! The distinction between hokku and haiku can be handled
by using the terms Classical Haiku and Modern Haiku.
i hate poetry :roll: