MUSIC       FOR LIFE.
Tuesday, October 30, 2007


Class is bored today, firstly is because is web application, next is because of someone, lastly is because of the faci,zzzzzzz !!!! Presentation is like so long, that we have to end class around 4pm every week argh!!!
Anyway problem for the today is quite easy, we just have to spot the mistake in the given codes; and because we are too free, chunlong, michelle and me are like msning each other in class. And Stewart i say le i will blog what u type !!!! this is the php code he came up with , LOL !!!!!



[

Welcome to MY HOMEPAGE kekekekeke



// User's choice of username
$password = "WTFBESTFRIENDSLAH"; // User's Choice of password
$encrypt = SHA1($password); // We utilise SHA1 Encryption to ensure COMPLETE PRIVACY!!!


$*CUSTOMCONNETION= mysql_connect("localhost","*","bestfriends"); // CONNECT TO BEST FRIENDS DATABASE.

mysql_select_db("*CUSTOMDB"); // This statement will select the appropriate database along with the connection used.

$query = "SELECT * FROM users WHERE username = \"$username\" AND password = \"$encrypt\""; // Retrieve all entries in DB that has username == * and password == best friends.

$result = mysql_query($query); // Execute the SQL query =P

while($row = mysql_fetch_array($result)) { // Retrieves best friend's name and also their MSN from DATABASE !
echo "

Best Friend Name: ".$row['name']; echo "
"; echo "

Best Friend MSN: ".$row['email'];
}
$* = "MONSTER" ;

// Declaration of Variable called $*


IF
($*=="MONSTER") { echo "OMGWTFBBQPWN SHE ISH A MONSTER"; }
ELSE
{ echo "Shirley ish her best friend"; }

mysql_close($*CUSTOMCONNETION); // CLOSE CONNECTION TO BEST FRIENDS DATABASE.
?>]




This might be greek to some of u. LOL, is ok if ya wanna noe more can come and seek me for help, i'm sure that i can explain to you the codes line by line ... LOL !!!!!



one SEVENs' fella.

ALL ABOUT ME.

aLL aBOUT mE!!

Shirley Lim

20

Republic Poly ( business application )

Attached

Love shopping

Love to sing

Slacker

Lazy

Crazy at times

A gal who loves Brown a lot

SO I WOULD LIKE TO WELCOME ALL OF U TO MY BROWN WORLD !!! ROAR...
>


Welcome


Love is like a butterfly .
The more you chase it , the more it eludes you.
But if you just let it fly, it will come to you when you least expect it.
Love can make you happy but often it hurts , but love's only special when you give it to someone who is really worth it.
So take your time and choose the best.
Heartbreaks last as long as you want and cut as deep as you allow them to go.
The challenge is not how to survive heartbreaks but to learn from them .
To all my friends
If one day u feel like crying,call me.
I dont promise that i will make u laugh, but i can cry with u.
If one day u want to run away-- dont be afraid to call me.
I dont promise to ask u to stop. but i can run with u.
If one day u dont want to listen to anyone; call me.
I promise to be there for u but also promise to remain quiet.
But one day if u call.and there is no answer; come fast to see me.
Perhaps I need u.

FACE THE MUSIC.

Baby Love - Nicole Scherzinger
WISHLIST.

*MP3
*More shoes
*Swatch watch
*Bangkok trip
*New phone
*Esprite or PUMA Jacket
* Hong Kong trip with friends
* Bangkok trip with baby
*DS LITE
*PUMA bag
*Agnes B tote bag
*Cello
*Own a fairlady
*To get my driving license
*A backpack trip
*White lilies for my bday =))
*Dior wallet
*Elizabeth Arden ( 5th avenue ) perfume


LINKS.

*Jie Leng
*Chuling
*Susan Sis
*Darcy
*Rachel (W25D)
*Huiling
*Saiful
*Dir
*Jazlyn
*Fiona
*Yong Liang
*Calyn
*Rachel
*Ravinder
*Mazlina
*ZaZa
*Marilyn
*Rendall
*Yue Hui
*Yvo
*Hazreen
*Mitchell
*Yew Wen
*Edric
*Kundo
*Yong Hong
*Kat
*Vicky
*Stefanie
*Denise
*Meiyan
*Shi Yingggg
*Keith


TAG.




THANKS(:

*deviantart
*Hotmail__
*Youtube__
*Yahoo__
Popcap__
*Blogskins|
*Blogger|

OUR MEMORIES.