PhD

Filed under:life — posted by Yi on March 30, 2008 @ 10:14 pm

I heard something funny this weekend. Everybody knows what PhD means. It means a doctoral degree. But if you got you PhD degree already or you are in the process getting your PhD degree, you might know another meaning of PhD. Are you ready? PhD = Permanent Head (brain) damage. Well at least I think it is funny.

Somthing I have to say about Tibet

Filed under:life — posted by Yi on March 25, 2008 @ 8:52 am

Ok, I have heard enough about this BS. “Free Tibet”??? go learn some Chinese history before you say that. Here is a free History 101 lesson from me: Tibet has been a part of China for thousands of years!! Yuan Dynasty, Ming Dynasty, Qing Dynasty, Republic of China, People’s Republic of China. Because of the weakness of Qing Dynasty, British took Tibet from China, and treated them like crap. So, what I say, we just took Tibet back. That’s all!

I guess everybody knows what just happened in Tibet. Well, from what I can tell, the American media are stupid and liars. They showed that Chinese police arresting people on TV, but they never showed what those people were doing before they were arrested. It was not a “peaceful” protesting, in the matter of fact, no peace at all. Burning cars, killing innocent people randomly, robbing and burning stores, if these things happened in LA, NYC, or anywhere in the America, what do you expect the cops to do? Sitting there and eating more donuts or getting up there and trying to keep the order? Think about it , and think hard. The media is trying to misleading American people. They are not showing the truth; they are showing what they want you to see.

Add Chinese characters into DB from php

Filed under:life — posted by Yi on March 17, 2008 @ 7:04 pm

When I was building my website, I had a hard time find a way to add Chinese characters into DB from php, and display it correctly on the web. But I figured it out in the end. It is really easy, just use the addslashes function. Here is an example:

$string; //this contains Chinese characters

$string2 = addslashes($string); \\now $string2 can be added into DB

//when you want to display in the page just do

echo $string2;
that’s it!

My First Post

Filed under:life — posted by Yi on @ 6:27 pm

Hey friends, welcome to my blog. At here, you can find out what is going on in my life.



image: detail of installation by Bronwyn Lace