Mysql 中的field types

04月 17th, 2010  |  Published in php+mysql

就是mysql中填入数据的数据类型:

MySQL Field Type

Description

Description

char(length)

Customer’s State field
always has two characters.

Any character can be in this field, but
the field will have a fixed length.

varchar(length)

Any character can be in this field, and
the data can vary in length from 1 to
255 characters. Maximum length of
field is denoted in parentheses.

Customer’s Address field will has letters and numbers and varies in length.

int(length)

Numeric field that stores integers
that can range from -2147483648 to
+2147483647, but can be limited with
the length parameter. The length
parameter limits the number of
characters that can be shown, not the
value. Mathematical functions can be
performed on data in this field.

Quantity of a product on hand.

int(length)

Unsigned Numeric field that stores positive
integers (and zero) up to 4294967295.
The length parameter limits the
number of characters that can be
displayed. Mathematical functions can
be performed on data in this field.

Customer ID (if entirely numerical).

text

Any character can be in this field, and
the maximum size of the data is 65536
characters.

Comments field that allows longer text to be stored, without limiting
field to 255 characters.

decimal(length,dec)

Numeric field that can store decimals.
The length parameter limits the
number of characters that will be
displayed, and the dec parameter limits
the number of decimal places that can
be stored. For example, a price field
that would store prices up to 999.99
would be defined as decimal(6,2).

Prices.

enum(“option1”,“option2”, . . .)

Allows only certain values to be stored
in this field, such as “true” and “false,”
or a list of states. 65535 different options
are allowed.

Gender field for your users will have a value of either “male” or “female.”

date

Stores a date as yyyy-mm-dd.

Date of order, birthday, date
joined as a registered user.

time

Stores time as hh:mm:ss.

Time a news article was
added to the Web site.

datetime

Multipurpose field that stores date and
time as yyyy-mm-dd hh:mm:ss.

Last date and time a user visited your Web page.

html中使用CSS排版样式 入门初步

04月 13th, 2010  |  Published in html, learning

1 内联式:

<p style= ”font-size:20pt;color:red;text-align:center;background-color:red;”>这里输入内容,显示在页面</p>

<div style=“background-color:red;position:absolute;”>这里输入内容,显示在页面。</div>

2 嵌入式:

</body>

</html>

嵌入式又可分为三种形式: Read the rest of this entry »

10.04.09

04月 8th, 2010  |  Published in

最近在学,很多想学,学了很多,时间不够,停不下来。

所有都在入门,html,xhtml,javascript,php,actionscript,ae。。。。很多东西。

还要巩固ps,ai之类以前的东西。

为什么学,我想我想知道而已。

没空陪女朋友,两个人的世界本来是一个世界,现在有点往两个不同的世界发展,她打工,我学习。还有交集,需要在一起。

很好的讲座:Justice:What’s the right thing to do? 适合任何时候看。

20100319

03月 19th, 2010  |  Published in with you

过得好快 一周一周 转眼三周

现在晚上22:46  我有想念

开始回忆 我们寻找着对方 寻找对方的身体 从一无所有中生长出万象般多姿美妙的熠丽

不断的探索 向前 探索 向前 再向前 再探索

那个不是的我的身体的身体 拨开的是云彩 撩人的是水彩

我有想我在念

岁岁年年 不能尽欢

春情由我引你破费浪费

以身体抗争 用身体搏斗

力感的纠缠 绵软

把我软化  融化下去

失去梦魇 到达你 幻化成一体。。。。。

hello darkness my old friend,I’ve come to talk with you again……

02月 8th, 2010  |  Published in past  |  3 Comments

174CFFA5-2C56-406F-98DD-C43EF0AB71F4

当年画的以手传情中的一个,这个的主题来自首歌 the sound of slience,有名,也是电影《毕业生》的主题曲。

hello darkness my old friend,I’ve come to talk with you again……

我要说我当时只是迷上了这首歌,几乎一直放着听着,旋律一起就能看见电影中那个男主角从开始的迷茫到最后的执着的所有具体。。。。听这歌,也去把歌者Simon & Garfunkel的别的专辑找来,都不错,都很好,只是现在还是只是想听这首,好像把我要说的都唱了出来,也好像填满并且造就了一部分的我,不知道到底我们之间谁会是先来,谁才是后到。。。反正无所谓。。。下面就是这首 《the sound of slience》:

hello darkness, my old friend,i’ve come to talk with you again

because a vision softly creeping,left its seeds while i was sleeping

and the vision,that was planted in my brain,still remains,within the sound of silence

in restless dreams i walked alone,narrow streets of cobblestone,neath the halo of a street lamp

i turned my collar to the cold and damp,when my eyes were stabbed by the flash of a neon light

that split the night

and touched the sound of silence,and in the naked light i saw,ten thousand people, maybe more

people talking without speaking,people hearing without listening,people writing songs that voices never share

and no one dared disturb the sound of silence

“fools” said i,”you do not know,silence like a cancer grows.,hear my words that i might teach you

take my arms that i might reach you

but my words like silent raindrops fell,and echoed

in the wells of silence and the people bowed and prayed

to the neon god they made and the sign flashed out its warning

in the words that it was forming and the sign said,”the words of the prophets are written on the subway walls

and tenement halls

and whisper’d in the sounds of silence

还是浪荡儿。。。。。。。。。

02月 5th, 2010  |  Published in past  |  1 Comment

貌似还是一如既往,不断通宵,不断颠倒黑白。悠长假期中,我只会是这个状态。

转眼间就又到了一个周五,不是有人提醒,我根本不会知道。觉得自己几乎活在时间之外。我也不想。

最近越来越意识自己的拒人千里,好像一直就是这样,我有细细分析,认真考虑了前因后果,我想我能明确出前因理由,这么个结果也在可以意料的范围,就是好像我不愿说,不想说,至少现在,对于我,理由很重。对于任何一个别人,根本不成问题。之间的差距就好像那本有名的书名,生命不可承受之轻。也许要用这个形容不一定真的贴切,谁都可以嘲笑说我在夸大自己所承受的,就像如大家所知的反革命剽窃饭郭敬明老师那样装忧郁演受伤,但我觉得要是你们站在我的地方,就会觉得不一定像我说的那么重,也肯定不像你们所想的那般轻。

你看得出来我在解释,解释就是掩饰,这句话在这里很有用,只可惜你不知道我在掩饰什么,我想掩饰什么。

搞笑,滑稽,无聊,但我却清楚明白亲身感受了一把,哈,更搞笑,更滑稽,更无聊。

20了,下个月就真的20了,过去也许没有什么大感觉,但真的这个时间到了,貌似什么感觉都来了,喜出望外,欣喜若狂,压力繁重,玩命反弹。

突然想起以前写过一篇浪荡儿,隐于二十。,现在重新看,重新想,重新整理自己的想法,好像有一些还在,有一些却变了。或者说不是变了,是当时的一些已经存在了的想法我没有说出来,更或者当时用词组句不当造成意思错位。

而我现在有什么想法,我不知道,我也不想说了,我觉得类似战前宣言的玩意儿我已经不热衷了,再说这也不算战,只是条路,不是宽敞大道也不是羊肠小径,能不能走好只是积累一路时间的方式问题。

最后你也可以知道,

我最最想要发生的,

是浪荡儿,

在二十,

不在甘于隐藏逃避,

我想要变态!

哈哈哈哈哈

我的八号桥链接~

01月 25th, 2010  |  Published in past  |  1 Comment

我的八号桥实训图片~

那时候起

01月 9th, 2010  |  Published in past  |  1 Comment

不知道是以哪个时间点为分界,在那之前,音乐对于我来说只是路边任何门面旁印象中隆隆的噪音

后来也不知道是什么事情的发生,然后就是所有的音乐对于我来说就像是 it sunddenly means everything

原来很不相信什么狗屁在一瞬间长大的恶心教条,但是现在互相起来似乎也是这么回事

哈 我在走一般人走过的所有路中的一条 跳不出去 回不到原来

一个个脚印 一条条轨迹已经画好 我只要按照前人的路走就可以

早年绝对不会有的心理 随着时间 也会越来也多的存 越来越多的生

明明不相信宿命 明明只抱着怀疑

妈的 现在都反了

2010.1.9

01月 9th, 2010  |  Published in past  |  2 Comments

我不能藏着自己的快乐,也同样不能阻挡痛苦的攻击,我的周身不会有层壁障,因为我从来很真而不装,我唯一做不到的只是停下思维,我说的是思维,不是思考,我只是没法停下自己去想去琢磨的步伐,一旦那个开关被打开,我知道,我便不能停止。

我希望有一天,我能停下痛苦的思索,能够安静的抽烟。

只做一件事

01月 2nd, 2010  |  Published in with you  |  5 Comments

最近只发生了一件事

只做了一件事

只想做一件事

只安逸于一件事

只能够念一件事

只叙述了一件事

只描绘了一件事

只铺开了一件事

只拥抱了一件事

只想象了一件事

只乐意于一件事

只沉浸于一件事

只希望有一件事

只心醉于一件事

只无聊于一件事

只上瘾于一件事

只过分于一件事

只赢得一件事

只萧条于一件事

只激烈于一件事

只放任一件事

只考虑一件事

只琢磨一件事

只能回忆一件事

只够憧憬一件事

只不满足一件事

只愿意有一件事,只愿意做一件事。