Martes, Marso 22

Tinago Mountain Resort: Bago City

'Tinago' is known as Hidden in english language. Tinago Mountain Resort is formerly known as Hidden Valley due to conflict of registered name, is located at Purok Abaca, Brgy.Mailum, Bago City. It is a mountain resort with water falls and three swimming pool for toddlers, children and adults. Day cottages and night cottages are ready for any functions. Bringing of food and beverages are allowed. They have parking space for customers with vehicles.


Entrance Fee: P50.00
Swimming Pool: P45.00


For more info, kindly contact this no. 034-434 2267/ Cell #  09194247558
or you can visit their page on facebook

Buenos Aires Mountain Resort: Bago City

Bago City is a 2nd class city located 22 kilometers south of Bacolod City. It is rich with beautiful resorts. One of this is the Buenos Aires Mountain Resort. Buenos Aries is a hidden paradise located at located in Brgy. Ilijan in Bago City. It takes 45 minutes of travel to reach the area from Bacolod City. The resort is supported by the city government of Bago.


It has a Farmes Training Center, Pana-ad Building, pavilion, cottages and three swimming pools supplied with mountain spring water which comes in varying sizes for adults , children and swimming competitions. It is a gateway to the Rafael Salas Nature Center in Barangay Guintubdan and Kipot Twin Falls in Barangay Mailum where the Philippine National Oil Company geothermal plant is located.


For more details including the cottages, prices, etc...visit happysteps.net 

One friend left by Dan Seals

March 22, 2011: My Daily Journal

No matter how hard I tried
I still can't....
Especially that I'm tired today...
I'm loaded with so much memories
that I wanted to burst in tears
to wash it all away


Advice b...
I really don't know what to do...
I feel so stupid today
I wanted to run and run and run...
Until my hearts can't feel the pain
But just the faster heartbeat...
Nothing to hear
Nothing to think
But just the fast and furious and unstoppable heartbeat...

If crying would just be possible
And crying would lighten everything
I would do that
Even if my eyes will sore
But I won't do that
I'll just wait for the time when I'm all alone
So that no one will see
No one will hear and everything...
And they will not get pity on me...
Because I'm not the victim
I'm the suspect
I'm the culprit...
Worthy to be sentenced

Maybe By Sick Puppies Lyrics

Maybe I'm a dreamer
Maybe I'm misunderstood
Maybe you're not seeing the side of me you should
Maybe I'm crazy
(Maybe I'm crazy)
Maybe I'm the only one
(Maybe I'm the only one)
Maybe I'm just out of touch
Maybe I've just had enough

Maybe it's time to change
And leave it all behind
I've never been one to walk alone
I've always been scared to try
So why does it feel so wrong
To reach for something more
To wanna live a better life
What am I waiting for?
'Cause nothing stays the same
Maybe it's time to change

Maybe it's hopeless
(Maybe it's hopeless)
Maybe I should just give up
(Maybe I should just give up)
What if I can't trust myself?
What if I just need some help?

Maybe it's time to change
And leave it all behind
I've never been one to walk alone
I've always been scared to try
So why does it feel so wrong
To reach for something more
To wanna live a better life
What am I waiting for?
'Cause nothing stays the same
Maybe it's time to change

And maybe it's time to change
And leave it all behind
I've never been one to walk alone
I've always been scared to try

And maybe it's time to change
And leave it all behind
I've never been one to walk alone
I've always been scared to try
So why does it feel so wrong
To reach for something more
To wanna live a better life
What am I waiting for?
'Cause nothing stays the same
Maybe it's time to change
'Cause nothing stays the same
Maybe it's time to change

Lunes, Marso 21

Stare

Staring blankly at your face
is better than staring at your back
while you walk away
It's easy to memorize your face
Than to erase it in my memory.

I know I won't be seeing that face for quite a long time
The curly hair, the smile, that black thing, that frown
That I'd used to stare everytime...
And I know that you can't treat me the way you used to be
But I swear from the bottom of my thalamus
No matter how cold and far I am to you
You'll always be the friend I used to love, care and treasure forever.

Always remember that you're always here in my heart...really
I'm just pretending as if I'm not hurt
As if I don't care at all
As if I don't miss you at all
But the truth is...
I want to hold you tight
I want to give you a big hug
I want to hold you forever
As if it's possible....but I know it's not...no more

I don't want to be a reason of someones pain
Most of all, of a friends pain
That's why I'm letting go
Let go of your hand eventhough I don't want to
Because I realize that I'm not worthy
Unworthy to be your friend
Unworthy to be your sister
Unworthy to be your best friend...

That's why I say nothing
And just watch your back as you walk away....................

I Made You Smile Again

I never thought I could do that again
After I told you that thing


I never saw you smile again...
But then...yesterday I was happy
Happy to see that smile again
Cause I always see you frown
Everytime Im near with you
I will never ever forget that smile again...



I miss the times when we're together
The times where we share jokes, experiences, problems
That made us laugh and laugh and laugh
That makes our stomach aches because of too much laughter
And makes us cry of our mistakes and problems
But that's life

Not all stories have a good or happy ending. ^_^
Like yesterday...
I can't even say goodbye and take care to you...
Maybe because I'm too coward to do or say the things I used to before
And I'm being contented to watch your back while you walk away from me
It's painful..yet I have to accept the fact that everything happens for a reason...
That God has a better plan for me
And this is just one of the steps to reach that plan...
I entrust you everything my Lord...
And thank you for everything....^_^

Linggo, Marso 20

Tears in Heaven by Eric Clapton

Would you know my name
If I saw you in heaven
Will it be the same
If I saw you in heaven
I must be strong, and carry on
Cause I know I don't belong
Here in heaven

Would you hold my hand
If I saw you in heaven
Would you help me stand
If I saw you in heaven
I'll find my way, through night and day
Cause I know I just can't stay
Here in heaven

Time can bring you down
Time can bend your knee
Time can break your heart
Have you begging please
Begging please

Beyond the door
There's peace I'm sure.
And I know there'll be no more...
Tears in heaven

Would you know my name
If I saw you in heaven
Will it be the same
If I saw you in heaven
I must be strong, and carry on
Cause I know I don't belong
Here in heaven

Cause I know I don't belong
Here in heaven 

I Think I Lost 2 Friends

It is sad to say, but I think that's the truth...
It's hitting two birds with one stone....
The one was hit directly
and the other was hit unintentionally...
When I them
I was happy
Because I have a boy friend
Since I was a child
I never had a guy friend
It's maybe because of the people around me
I was what they call "ilap" in Ilonggo term to all of them
But when I met this guy friend
I started to befriend and trust and care for him
But then he left me...
Just like his girlfriend...
Just like the others...
They cannot understand me
But then I understand
And even though I'm not that kind who'll give up easily on friendship
Now I'll do that
Not because I'm coward enough to face my own fears
But to stop their hearts from bleeding that there's no other to blame
But me....no one...but ME.

Miyerkules, Marso 16

It Really Hurts

That's what I really realy feel today.
It's more painful compare to my last hearbreak.
The  last time it involves my ex
And now involves my friend
Pretty painful but still I can bear
Rather than be w/ her and hurt her
The pain would be unbearable
Haist...
Pain...
Pain...
Pain...
The truth is painful
Yet I have to accept everything
Everything...including the fact that we won't be as close as we were the last time.
:(

Final Exam: March 17, 2011

As they enter the room
They came late
They were in rush
After receiving their test papers
Sit to their seats
Start answering
and then
They turn left
They turn right
As if they're just crossing a road

After this
Summer would be approaching
And they'll see each other not
Because they live far from each other.
They'll be missing each others company.

How funny students are
The same as we were in school too.
I miss being a student
I miss being a boarder
I miss my classmates
I miss my friends
I miss them all...

ABC Cartoon Shows Aired Last 2008

These cartoons are one of my all time favorites anime. Pretty nice and there is always a lesson learned at the end.

First in the list is

Fancy Lala











Maha Go Go GO!










Time Quest










Sailormoon







Pygmalio










Ranma 1/2

March 17, 2011: Painless or Painful??




When I was young
I told myself not to be that attached to people around you.
Know my reason why?
It's because I'm too weak
Easily hurt
Easily cry
That's why I put myself in a shell
A shell where no one can harm
Either touch me inside.

Then there came a friend
Who enters my world
Tried to pull me out of my shell
Tried to pull me out of the darkness.
And welcome to world of light.

My world brightens
And I fear nothing..
Nothing but a fear of being left alone
And it happened
I was left alone
All alone and wounded...

It took years to move on
3 or 4 years I think
Until I allowed someone to enter my dark world again.
They're not just 1 but 7 plus who stole my heart...
I cared for them so much coz it hurts to see them cry
But it really hurts to be the reason of the pain they feel inside.

Maybe I should have stayed in my shell for a long time
I might be the toughest person on earth.
But then I never regretted being with them
They give me best gift in the world....
Friendship...with lots of memories...
That will surely I will never ever forget.
And cherish those times till my last breath

And now I promised my self...
To go back of that shell again...
To avoid not just to cause me pain
But most importantly...to cause my friends no more pain.

I am now a program...
A program with password...
No one will penetrate in my mind and in my heart...
As long as I give you they key...
....the password....

I promise you one thing...hurt you no more
And I'll grant that to you...I swear
Because having this kind of pain...
the pain of losing you is bearable
But the pain that you have caused by me is unbearable.
Whatever happens...I swear...
Starting today...until...tomorrow..until the end

March 16, 2011: My Hidden Confession

Whatever it is..sorry...
I never expected that someone would care
and love me the way you do...
I never thought...
I never thought I've hurt you that much
And starting to realize
That you're right
That not all things that starts well will end well
But in our case
It starts badly and will still end just as bad as anyone imagines.
Having me at your side..with me having a negative aura
Will just darken yours too...

I've been too immature
Every time Mr. Pain is present...
But how about chance?
Can you give it to me?
or forgiveness perhaps?

Pretty funny...
Even if how much I treasure them
I always end up losing them.
Fool me...really a fool.

When will I realize the things that I am supposed to learn?
When they're all out of my sight?
When they're all out of my reach?
When time comes they're all gone?
And I have nothing to blame but myself.

How sad...
But thanks...
I realize that not all people are the same.
That some things are not temporary in this world...
Some may stay..
Some may change...
But what is important
You treasure every moment you've been through
Whether grief or happiness
Tears or Sadness...

I must learn to let go
Before they come and crush me
And nothing will be left
But tiny broken pieces
or perhaps dust on the ground.

I must rely on no one
No one but myself

Listen to this song. This is what I really feel today.
Not all message..perhaps some of it.
This song is entitled "Maybe by Sick Puppies". Hope you'll like it too.^_^

Maybe by Sick Puppies

I don't want to talk...
Or explain either...
Just want to express it through this song...


<br />

Biyernes, Marso 11

I Lose

You lose appetite to be with me
You teach me how to snab
You teach me to be though
You teach me to stay silence
You teach me to be independent
You make me realized that all things are temporary
That any moment will be ashes scattered in thin air
No one hears
No one sees

Now I am on my own
Be though as you taught me
Be dependent with no one...no one....but myself

The Gift of a Friend by Demi Lovato

I really love not just its melody but its message too...
You know I'm really particular with my friends. I love them and treasure them no matter what. Do the same thing and enjoy life with them to its fullest. Coz me, I'm happy and enjoying life with them whatever it is. Whether laughter or tears...success or failure...Share them your success and the happiness doubles. Share them your pain and the burden lessens.
^_^

Sometimes you think you'll be fine by yourself
'Cause a dream is a wish that you make all alone
It's easy to feel like you don't need help
But it's harder to walk on your own

You'll change inside when you realize

The world comes to life and everything's bright
From beginning to end when you have a friend by your side
That helps you to find the beauty you are
When you open your heart and believe in the gift of a friend
The gift of a friend

Someone who knows when you're lost and you're scared
And there through the highs and the lows
Someone you can count on, someone who cares
Beside you wherever you'll go

You'll change inside when you realize

The world comes to life and everything's bright
From beginning to end when you have a friend by your side
That helps you to find the beauty you are
When you open your heart and believe in the gift of a friend

And when your hope crashes down
Shattering to the ground you, you feel all alone
When you don't know which way to go
And there's no signs leading you home, you're not alone

The world comes to life and everything's bright
From beginning to end when you have a friend by your side
That helps you to find the beauty you are
When you open your heart and believe in
When you believe in, when believe in the gift of a friend

From: http://www.elyrics.net/read/d/demi-lovato-lyrics/gift-of-a-friend-lyrics.html

Cold Heart

Your memory flashes back
As I lay and remember the past
I never want it to go
Coz I'll treasure it till I say no...



I wish one day our road will cross
Smile to you and say hello
Knowing my friends are so great
I know, I can never find another you...

Red Rose

In the land somewhere
I saw some like you anywhere


Only you get my attention dear
But someone post you beware...

That time I never knew
Opposing what I wanna do
Forgetting what I really feel for you
For I thought it will just narrow...

The day past, the grievance heightens
It urges my soul to come and behold
To stoop into you, to smell and to guard
For I know your fume it seethes...

Now I know what beware means
The thorn that you bear with you all the way
Blood will flow
Tears will fall

But surely one thing I can say...
I'll hold you till forever my lovely red rose dear...

Miyerkules, Marso 9

What the Hell by Avril Lavigne

Here's the 2nd song from the track list of the album 'Goodbye Lullabye'.

Avril Alvigne's Goodbye Lullabye Album

Here's one of the latest album of 'Avril Lavigne' entitled 'Goodbye Lullabye'.It is consist of 14 tracks. They are as follows:

1. Black Star - Listen to this song
2. What The Hell- Watch Video here
3. Push - Listen to this song
4. Wish You Were Here - Listen to this song
5. Smile - Listen to this song
6. Stop Standing There - Listen to this song
7. I Love You - Listen to this song
8. Everybody Hurts - Listen to this song
9. Not Enough - Listen to this song
10. 4 Real - Listen to this song
11. Darlin - Listen to this song
12. Remember When - Listen to this song 

 13. Goodbye - Listen to this song
14. Alice  
- Listen to this song

Phnoy.com: Watch Online

I found a new site good for overseas Filipino. It's a site that allows you to watch live streaming of live shows, news, sports or movies not just from the Philippines but also internationally. It includes station like ABS-CBN, GMA7, Studio23, TV5, etc.
Just visit Phnoy.com for more info.

A Different Scene

Try to look at this pictures taken from different sites on the web. They are quite extraordinary. Simple but amazing.

Wow! Have you ever seen a watermelon like these???
A watermelon with a square shape?
I never thought that it exist!
Visit this for the full article!

I have experienced biking with a maximum of 3 loads including myself.
But how about 5? Can you do it?



How about being tripped like this? You can't blame them...I think he's just too drunk that he can't manage himself...just like my friend. Let's just call her "Pon".



Martes, Marso 8

Taare Zameen Par "Every Child is Special"

Another nice movie from Aamir Khan. The most talented guy I've met in my whole life.
He is not just a writer but a producer, director, singer, actor, a good dancer and a good looking-man!
This movie "Taare Zameen Par was produced and directed by no other than but him.
It was written by Amol Gupte. Casts are Aamir himself and Darsheel Safary, a 15 year old boy on todays time.




This movie was created on the year 2007. Darsheel played the role of Ishaan Awasthi, an eight-year-old whose world is filled with wonders that no one else seems to appreciate; colours...a  dyslexic child that no one cares but his teacher Aamir Khan. He excels in arts but has poor performance in academics. He writes inversely that can be easily read on mirrors.

In the end, the boy becomes a natural child..not afraid mingling with other people.

Friendship Never Ends Quote

We met at school
shared the stories of our lives,
laughed at the corniest jokes,
sympathized with each other's heartbreaks,

.....there built a special bond.

But the story won't end at CHMSC,
for I will never say goodbye to the memories,
to my friends,
to my alma matter...

....For without Paglaum,
I wouldn't have the chance to know you.
^_^

Friendship Quote

When we share the laughter,
that's twice the fun

When we share problems,
it's half the pain

When we share tears,
a rainbow follows our rain

When we share our secrets,
it's our hearts we reveal

You see what draws us closer
and makes us care
is not what we have

But the things we share...^_^

Best Quote: Expectations

One word that best describes the cause of pain, hatred and hurt...
"Expectations"
We shouldn't have too much of it...

Best Quote

They love you
but they are not your lover...

They care for you
but they are not your family...

They are ready to share your pain
but they are not your blood relations...

They are...friends!!!

True friend scolds like a dad
cares like a mom
teases like a sister
irritates like a brother

and finally....
loves you more than a lover!
^_^

Lunes, Marso 7

PHP: Average Grade Solver


We have here a program that allows a user to input and solve for the average grade.







<form id="form1" name="form1" method="post" action="">
Average Grades
Math<input name="math" type="text" id="math" size="3" maxlength="4" />
English<input name="eng" type="text" id="eng" size="3" maxlength="4" />
Science<input name="sci" type="text" id="sci" size="3" maxlength="4" />
Filipino<input name="fil" type="text" id="fil" size="3" maxlength="4" />
Hekasi<input name="he" type="text" id="he" size="3" maxlength="4" />
PE<input name="pe" type="text" id="pe" size="3" maxlength="4" /></td>
<input name="calc" type="submit" id="calc" value="Get Average" />
Average<?php echo $ave;?>
</form>

<?php
if (isset($_POST['calc']))
{
$m=$_POST['math'];
$e=$_POST['eng'];
$s=$_POST['sci'];
$f=$_POST['fil'];
$h=$_POST['he'];
$p=$_POST['pe'];
$ave=($m+$e+$s+$f+$h+$p)/6;
}
?>

Brunch

As I wake up every morning

I wake up late
Not that late
But a time just for readying myself
No breakfast…yet ready for school

When the class start
It gives me nothing….
But just a blank mind
In short blackout

12 o’clock  is appraoching
Or perhaps earlier than that
I realized I forgot breakfast
So I proceed to lunch
And its called Brunch.
heheh

PHP Random Select

Program that allows you to display random numbers.
<?php
$random = (rand()%100);
echo "$random is a number fro 0 to 100 which is randomly selected");
?>

PHP Display Different Color Everyday

The following blocks of code is a program that changes the background color of the page base of the day from your computer.I used the Switch Statement instead of ifelse statement.


Colors are as follows:
Monday=Red
Tuesday=Yellow
Wednesday=Blue
Thursday=Green
Friday=White
Saturday=Violet
Sunday=Black

<?php
$date=date('l');

switch ($date){
    case "Monday":
    echo "Today is Monday";
    echo "<body bgcolor='#FF0000'></body>";
    break;
   
    case "Tuesday":
    echo "Today is Tuesday";
    echo "<body bgcolor='#FFFF00'></body>";
    break;
   
    case "Wednesday":
    echo "Today is Wednesday";
    echo "<body bgcolor='#0000FF'></body>";
    break;
   
    case "Thursday":
    echo "Today is Thursday";
    echo "<body bgcolor='#006600'></body>";
    break;
   
    case "Friday":
    echo "Today is Friday";
    echo "<body bgcolor='##FF00FF'></body>";
    break;
   
    case "Saturday":
    echo "Today is Saturday";
    echo "<body bgcolor='#9900FF'></body>";
    break;
   
    case "Sunday":
    echo "Today is Sunday";
    echo "<body bgcolor='black'></body>";
    break;
    }
?>

PHP: Display Computer's Date

<?php
$date=date('F l, Y');
echo $date;
?>

My Heart...My Heartbreak

My heart was taken by you
Stole it from the first day I saw you
At first , life was heaven…
Full of happiness
No room for sadness and grief

But then their comes Mr. lie
He stole my trust to you
And left a pain so true
That even time needs more…
Time to heal and move on again

One day  you left
You never thought of turning it back
To where it belongs
To its sanctuary
To where it is sheltered and protected
Until someone might come and care for it again
And willing to hold it forever…

The Sunset

I really love sunset...Know why? 
Because it makes me believe that in every problem, there is always an end. 
And a new day to start ahead.

That in every sorrow there is joy...
In every heartbreak...a love that's true to come
Every tear...a smile

And a mistake... a person that will help you stand and start life again
A life full of promises
A life full of hopes
That indeed makes us realize that every person has their own purpose
why God created them...

Have a nice day ahead!God Bless.

The Sunset

Javascript:Autosum Code

Here's the code. The first part is its HTML code. Be sure to put it in a form.
Then add this attribute onfocus="startCalc();" in your texboxes that you want to add their values except for the textbox where you want to display the result.

<form method="post" name="autosum"> <input id="first" name="first" onblur="stopCalc();" onfocus="startCalc();" size="3" type="text" /><input id="second" name="second" onblur="stopCalc();" onfocus="startCalc();" size="3" type="text" /><input id="total" name="total" onblur="stopCalc();" onfocus="startCalc();" readonly="true" size="8" type="text" /></form>

Then paste this javascript code on the last part of your page. Done!!!
<script type="text/javascript"> function startCalc(){ interval = setInterval("calc()",1); } function calc(){ one = document.autosum.first.value; two = document.autosum.second.value; document.autosum.total.value = (one * 1) + (two * 1); } function stopCalc(){ clearInterval(interval); } </script>

Linggo, Marso 6

Javascript:Autosum Program

I never thought that javascript would actually run on blogger even if you just put it in post. I thought you need to add another pagae element which is javascript/html on your page.
But I thought wrong!!! And I'm shocked to know that it really works!!!

Here's an example of a javascript autosum that is already running! Try it!
First No.  Second No. Total


Click here for the code

I am Tired

I am tired
So don't make things harder for me...
Maybe it'll be a lot easier for you
But for me...it's quite a no no no...

I know I'm not that good
I know I'm not that smart
I know I'm not there always by yourside
But I don't know what you really want...

So to be fair and safe...
Tell me frankly
or shout at my face
The wrong deeds I've made
For the wrong words I've said...

I just ask you one thing...
Don't do this to me..
Cause it hurts to do the things
that I dont' want to do
and I haven't tried at all...

Maybe today...
Maybe tomorrow...
or maybe the following weeks...
and month or years perhaps...
:(

Javascript: Limit Checkbox

Having a hard time in error trapping your PHP program?
First, I already post javascript codes that allow the users to input number only.
Today, I'll give you an idea on how to 'limit checkboxes in javascript'.
The following html codes will be used for input purposes. The example will limit the user to select 3 menus only.
So here's an easy step to do it:
1st Step: Insert this javascript code inside you head tag.

<script type="text/javascript">
function checkboxlimit(checkgroup, limit){
var checkgroup=checkgroup
var limit=limit
for (var i=0; i<checkgroup.length; i++){
checkgroup[i].onclick=function(){
var checkedcount=0
for (var i=0; i<checkgroup.length; i++)
checkedcount+=(checkgroup[i].checked)? 1 : 0
if (checkedcount>limit){
alert("You can select "+limit+" main dish only")
this.checked=false
}
}
}
}
</script>



2nd Step: Copy the following on notepad or macromedia dreamweaver.

<form id="maindish" name="maindish">
Select 3 main dish only:
<input type="checkbox" name="menu" /> Chicken Alexander<br />
<input type="checkbox" name="menu" /> Baby Back Ribs<br />
<input type="checkbox" name="menu" /> Vacareta<br />
<input type="checkbox" name="menu" /> Roast Beef<br />
<input type="checkbox" name="menu" /> Roast Pork<br />
</form>

Last Step: Put the following code on the last part of your page or codes.
<script type="text/javascript">
checkboxlimit(document.forms.maindish.menu, 3)
</script>
Note:maindish is the form name, menu is the checkboxes name and 3 is the limit.

Javascript Input Numbers Only

This simple javascript code allows you to trap errors on textbox.
It allows the user to input numbers only on a certain text boxes. Symbols and letters are not allowed.

Add this attribute to the textbox you want to input numbers only.
onkeypress="return isNumberKey(event)"

isNumberKey(event) is the name of your javascript function.

You can put this code either on the head section or on the last part of you codes. It will still function.

<script language="javascript" >
 function isNumberKey(evt)
 {
var charCode = (evt.which) ? evt.which : event.keyCode
if (charCode > 31 && (charCode < 48 || charCode > 57))
return false;
return true;
 }  
</script>

Huwebes, Marso 3

PHP: Simple Calculator


Here are the steps in creating a simple calculator using PHP.
You can use either Switch or If Statement.





Step 1: Copy the following HTML code into a notepad or dreamweaver.
<html>
<head><title>PHP Simple Calculator</title></head>
<body>
<form method="post">
Enter First No.
<input type="text" name="firstnum">
Select operator:
<select name="operator">
<option>+</option>
<option>-</option>
<option>*</option>
<option>/</option>
</select>
Enter Second No.
<input type="text" name="secondnum">
<input type="submit" name="calculate" value="Calculate">
</form>
</body>
</html>
Step 2: Add the following PHP script anywhere in the page where you want the result will be displayed.
<?php
$first=$_POST['firstnum'];
$second=$_POST['secondnum'];
$operator=$_POST['operator'];
if ($operator=="+")
{$total=$first + $second;}
if ($operator=="-")
{$total=$first - $second;}
if ($operator=="*")
{$total=$first * $second;}
if ($operator=="/")
{$total=$first / $second;}
echo $total;
?>

Step 3: Save you page with the .php file extension in the directory wamp/www. Be sure to have any mini-server such as Wampserver or Easy PHP installed. If you don't have any, here's a link to download it. wampserver or easyphp

 
Powered by Blogger