2013年11月20日 星期三

[PHP] PHP mysql_real_escape_string() 使用注意事項

http://www.doubleservice.com/2011/03/php-mysql_real_escape_string/


在 DBMS 為 MySQL 時,要留意 mysql_real_escape_string() 的使用時機,
要先確保產生 DB 連線資源後,才能正確使用,不然可能會產生空值。

2013年11月6日 星期三

[English Vocab Tutorial] melancholy, lucidity, coax, drily, reprimand, sheer

http://www.telegraph.co.uk/culture/tvandradio/9229745/Louis-Theroux-Extreme-Love-Dementia-BBC-Two-review.html


Dictionary.reference.com

mel·an·chol·y

  [mel-uhn-kol-ee]  Show IPA noun, pluralmel·an·chol·ies, adjective
noun
1.
a gloomy state of mind, especially when habitual or prolonged;depression.
2.
sober thoughtfulness; pensiveness.
3.
Archaic.
a.
the condition of having too much black bile, considered inancient and medieval medicine to cause gloominess and depression.
b.
black bile.
adjective
4.
affected with, characterized by, or showing melancholy;mournful; depressed: a melancholy mood.
5.
causing melancholy or sadness; saddening: a melancholy occasion.
6.
soberly thoughtful; pensive.



lu·cid·i·ty

 [loo-sid-i-tee]  Show IPA
noun
1.
the quality of being easily understood, completely intelligible, or comprehensible: She makes her argument with pointed logic and exemplary lucidity.
2.
the ability to see things clearly; rationality; sanity: In a rare moment of lucidity, the senator sided with his political enemies for the good of the country.
Sometimes, lu·cid·ness.


non·lu·cid·i·ty, noun



coax

1  [kohks]  Show IPA
verb (used with object)
1.
to attempt to influence by gentle persuasion, flattery, etc.;cajole: He coaxed her to sing, but she refused.
2.
to obtain by coaxing: We coaxed the secret from him.
3.
to manipulate to a desired end by adroit handling or persistent effort: He coaxed the large chair through the door.
4.
Obsolete .
a.
to fondle.
b.
to fool; deceive.
verb (used without object)
5.
to use gentle persuasion.



rep·ri·mand

  [n. rep-ruh-mand, -mahnd; v. rep-ruh-mand, -mahnd, rep-ruh-mand, -mahnd]  Show IPA
noun
1.
a severe reproof or rebuke, especially a formal one by a personin authority.
verb (used with object)
2.
to reprove or rebuke severely, especially in a formal way.


sheer

1  [sheer]  Show IPA adjective, sheer·er, sheer·est,adverb, noun
adjective
1.
transparently thin; diaphanous, as some fabrics: sheer stockings.
2.
unmixed with anything else: We drilled a hundred feet through sheer rock.
3.
unqualified; utter: sheer nonsense.
4.
extending down or up very steeply; almost completely vertical: sheer descent of rock.
5.
British Obsolete bright; shining.





Extension learning


wet behind the ears and not dry behind the ears; hardly dry behind the ears
young and inexperienced. 





pen·sive

  [pen-siv]  Show IPA
adjective
1.
dreamily or wistfully thoughtful: a pensive mood.
2.
expressing or revealing thoughtfulness, usually marked by some sadness: a pensive adagio.

[康復路] 試完又試

見了醫生,因為血色素又變低了,醫生想檢查是否「缺鐵」為成因,檢查又檢查…… 感覺有些麻煩……又抽血,又要留樣本…… 令我回想起當日入院的時光,因為一些原因,留樣本只需留一次,免卻留三次的麻煩;現在每天都要留一次,連續三天。每天早上就要跑醫院一趟再上班。 幸好也完成了。 第二次抽血...