PHP Functions - Return values

March 29, 2008

Functions can also be used to return values.

Example

<html>

<body>

<?php

function add($x,$y)

  {

  $total = $x + $y;

  return $total;

  }

echo "1 + 16 = " . add(1,16);

?>

</body>

</html>

Output:

1 + 16 = 17

do you think you are humorous?

1. are you outgoing or a home buddy?

..:: i don’t like staying at home…

2. what is the common first
impression of the people to you?

..:: serious

3. are their impressions right?

..:: yes

4. are you shy or not afraid of facing
people?

..:: i think i am a shy type person

5. when you have problems, do you
share it with someone?

..:: with my friends

6. if not, why?

..:: no comment

7. are you usually conscious of other
people’s opinions?

..:: ok… i’d rather think of it as
constructive critism

8. are you a pretender?

..:: yes…i’m pretending i’m dead remember?

9. how would you describe yourself as
a friend?

..:: not even close to friendly.

10. do you do well in making big
decisions?

..:: majority decision is my choice hehe

11. would you rather do FS 8 hours
long or read 8 hours long?

..:: not in the two…what is FS?

12. are you good at confrontations?

..:: never

13. are you sensitive?

..:: could be…

14. do you think you are humorous?

..:: no im not!

15. are you fond of talking to
yourself in the mirror?

..:: hahaha eventhough there is no mirror!

16. are you afraid of speaking in
front of a bunch of people?

..:: it is ok.

17. what do you think of childish
stuffs?

..:: is it childish watching tom and jerry?

18. do you act your age?

..:: looking old act like a twelve year
old haha

19. what can you say to those who hate
you?

..:: hate me more…then go kill yourself

20. how would you describe yourself?

..:: dont make me answer this!

CONDOLENCE TO TUTOR FAMILY

The father of our friends died last march 19, 2007 because of car jack arrest at their farm. I was shocked when my friend told me the father of our friend died. My friend took 1 day to get the dead body of his father to bring it in their house. This day is the schedule date for the burial of their father and now there are a lot of people in their house to join in the burial of his father.

Got to go now! I must prepare myself for the burial.

MY NEW PC SPECS!

Last month I bought a new pc because my other pc is too old and it has a lot of deffective on its own different parts. My old pc also is not fast not like my new pc it is fast.

The specifications of my new pc:

EMAX-NF7050HD-PRO
AMD ATHLON 64x2 DUAL CORE 4200+ 2.2GHZ or 2.4GHZ
80GB HD
CASING W/ POWER SUPPLY
1GB MEMORY DDR 2

My new PC is not so fast, but I am already satisfied with my new PC. I will post pics soon! 

Get free blog up and running in minutes with Blogsome | Theme designs available here