My Phase of ExistenceAugust 22, 2008 6:15 am

Whew! I just notice guys that my blog was already one year last wednesday August 20, 2008. I am so happy my blog reach 1 year and facing with no problems at all. This is my first blog website I have made. I am now satisfied to the traffic into this site because it is greatly increasing every month. I give the rest of my leisure time to set and build up the traffic using on what I have read and learned in blogging, that now it shows excellent traffic.

The website I am talking that turn 1 year is I LOVE YOU BEE.

Thanks for the people who are reading my article. I hope you will still read my up coming articles. By the way before I go I would like to give thanks to Mr. Exander Barrios MIM our professor who taught me in blogging that greatly changed my life.

Again I hope you will support this blog of mine! Have a nice day to all!

My Phase of Existence 5:59 am

The ElseIf Statement

If you want to execute some code if one of several conditions are true use the elseif statement

Syntax

if (condition)

  code to be executed if condition is true;

elseif (condition)

  code to be executed if condition is true;

else

  code to be executed if condition is false;

 

Example

The following example will output "Have a nice weekend!" if the current day is Friday, and "Have a nice Sunday!" if the current day is Sunday. Otherwise it will output "Have a nice day!":

<html>

<body>

<?php

$d=date("D");

if ($d=="Fri")

  echo "Have a nice weekend!";

elseif ($d=="Sun")

  echo "Have a nice Sunday!";

else

  echo "Have a nice day!";

?>

</body>

</html>

My Phase of ExistenceAugust 20, 2008 3:41 am

#include<conio.h>
#include<iostream>
using namespace std;
int main()
{
    FILE *ptr;
    char num;
    ptr=fopen("color.in","r");
    if(ptr==NULL)
    {
                 cout<<"File could not be opened!";
    }
    else
    {
        while(!feof(ptr))
        {
        fscanf(ptr,"%c",&num);
        if(num!=’#')
        {
        if((num==’r')||(num==’R')){cout<<"Red\n";}
        else if((num==’B')||(num==’b')){cout<<"Blue\n";}
        else if((num==’G')||(num==’g')){cout<<"Green\n";}
        else if((num==’A')||(num==’a')){cout<<"Black\n";}
        else if((num==’C')||(num==’c')){cout<<"Black\n";}
        else if((num==’E')||(num==’e')){cout<<"Black\n";}
        else if((num==’F')||(num==’f')){cout<<"Black\n";}
        else if((num==’H')||(num==’h')){cout<<"Black\n";}
        else if((num==’I')||(num==’i')){cout<<"Black\n";}
        else if((num==’J')||(num==’j')){cout<<"Black\n";}
        else if((num==’K')||(num==’k')){cout<<"Black\n";}
        else if((num==’L')||(num==’l')){cout<<"Black\n";}
        else if((num==’M')||(num==’m')){cout<<"Black\n";}
        else if((num==’N')||(num==’n')){cout<<"Black\n";}
        else if((num==’O')||(num==’o')){cout<<"Black\n";}
        else if((num==’P')||(num==’p')){cout<<"Black\n";}
        else if((num==’Q')||(num==’q')){cout<<"Black\n";}
        else if((num==’R')||(num==’r')){cout<<"Black\n";}
        else if((num==’S')||(num==’s’)){cout<<"Black\n";}
        else if((num==’T')||(num==’t')){cout<<"Black\n";}
        else if((num==’U')||(num==’u')){cout<<"Black\n";}
        else if((num==’V')||(num==’v')){cout<<"Black\n";}
        else if((num==’W')||(num==’w')){cout<<"Black\n";}
        else if((num==’X')||(num==’x')){cout<<"Black\n";}
        else if((num==’Y')||(num==’y')){cout<<"Black\n";}
        else if((num==’Z')||(num==’z')){cout<<"Black\n";}   
        }
        }
    }
getch();
}

My Phase of ExistenceAugust 18, 2008 3:38 am

Here are my guidlines when I am going to buy motherboard and start choosing what motherboard I will buy. 

Decide which CPU to use
Buy a motherboard that uses the right chipset
For a single Pentium 4 or Celeron processor, choose a motherboard that uses an Intel 845-, 865-, or 875-series chipset, depending on your budget and priorities. For a single Athlon processor, choose a motherboard that uses an nVIDIA nForce2-series chipset. For a dual-processor Athlon MP system, choose a motherboard that uses the AMD 760-MPX chipset.

Make sure the motherboard supports the exact processor you plan to use
Choose a board with flexible host bus speeds
Avoid hybrid motherboards
Check documentation, support, and updates
Buy a motherboard with the proper form factor

CHARACTERISTICS

Expansion slots
Warranty
Ports, connectors, and front-panel LEDs
Embedded sound and video
Power management and system management
Wakeup functions
Jumperless (or single-jumper) configuration
Boot devices supported
Minor or special-purpose features

My Phase of Existence, GamesAugust 16, 2008 3:35 am

 

Maple Story is a free-of-charge, 2D, side-scrolling Massively Multiplayer Online Role Playing Game developed by the South Korean company Wizet. Several versions of the game are available for specific countries or regions, and each is published by various companies such as Wizet and Nexon. Although playing the game is free, many player appearances and gameplay enhancements can be purchased from the "Cash Shop" using real money. MapleStory has a combined total of over 50 million subscriber accounts in all of its versions. MapleStory North America (Global), for players mainly in North America and outside of East Asia, Southeast Asia and Europe, has over three million players. In the game, players walk around in the "Maple World" and defeat monsters and develop their character’s skills and abilities, as is typical in role-playing games. Players can interact with others in many ways, such as through chatting, trading, and playing minigames. Groups of players can band together in parties to hunt monsters and share the rewards. Players can also join a guild to interact more easily with each other.

My Phase of Existence, GamesAugust 14, 2008 3:30 am

 

World of Warcraft commonly known as "WoW" is a massively multiplayer online role-playing game (MMORPG). It is Blizzard Entertainment’s fourth game set in the fantasy Warcraft universe, which was first introduced by Warcraft: Orcs & Humans in 1994. World of Warcraft takes place within the world of Azeroth, four years after the events at the conclusion of Blizzard’s previous release, Warcraft III: The Frozen Throne. Blizzard Entertainment announced World of Warcraft on September 2, 2001. The game was released on November 23, 2004, celebrating the 10th anniversary of the Warcraft franchise. It is currently the world’s largest MMORPG in terms of monthly subscribers. World of Warcraft currently holds 62% of the MMOG market at 10 million subscribers. The current subscriber base for all MMOGs is 16 million. The first official expansion pack of the game, The Burning Crusade, was released on January 16, 2007. During the 2007 BlizzCon event, Blizzard announced a second expansion pack called Wrath of the Lich King on August 3, 2007. The release date of Wrath of the Lich King has not been announced.

My Phase of ExistenceAugust 12, 2008 2:44 pm
  • Engage in reading activities
  • Set a time for studying.
  • Ask God to enlighten your mind to understand what you are reading. There is immeasurable power in it.
  • Arrange the things and make sure that the place is clean. When the place is dirty, your mind is a mess.
  • If you want to have a good study habit you must eat nuts and drink milk.
  • Some people who prefer to study he last subject they have rather than studying the first subject. According to them, this technique is very helpful to freshen up their minds during examination. They study their lessons one-day before the exam.
  • Read more books watch less T.V.
  • Study a particular topic.
  • When reading, sit properly.
  • Give a meaning to what you are reading. If you are confused regarding some words in particular, consult the dictionary ofr the correct meaning.
  • In reading, use the left hand in holding the book. The right hand is use in opening the pages that you are reading.
  • Some students are required a gentle hand to guide them during a reading exercise to make sure that they are on task and focused.
  • Others memorize what they are studying. It depends on where you are comfortable, whether reading it or by memorizing it.
  • Seek out new research on the topic and analyze the information, data, and experiences.
  • Understand what you are reading or studying.

 

I hope this technique of studying I have posted will help you in your studies to have a good grade and to be a successful graduate student someday. 

My Phase of ExistenceAugust 10, 2008 6:35 am

Using MySQL and PHP Together

To illustrate these functions, let’s create a simple MySQL database table, and
then use PHP to connect to the server, retrieve a set of results, and format them for
display on a web page. The sample table used here consists of a single table named
items, which holds a list of products and their prices. Here are the SQL queries
needed to create and initialize this table:

CREATE TABLE items (
itemID int(11) NOT NULL auto_increment,
itemName varchar(255) NOT NULL default ‘’,
itemPrice float NOT NULL default ‘0′,
PRIMARY KEY  (itemID) ) TYPE=MyISAM;
INSERT INTO items VALUES (1, ‘Paperweight’, ‘3.99′);
INSERT INTO items VALUES (2, ‘Key ring’, ‘2.99′);
INSERT INTO items VALUES (3, ‘Commemorative plate’, ‘14.99′);
INSERT INTO items VALUES (4, ‘Pencils (set of 4)’, ‘1.99′);
INSERT INTO items VALUES (5, ‘Coasters (set of 3)’, ‘4.99′);

You can enter these commands either interactively or noninteractively through
the MySQL client program. Once entered, run a SELECT query to ensure that the data has been successfully imported.

mysql> SELECT * FROM items;
+——–+———————+———–+
| itemID | itemName            | itemPrice |
+——–+———————+———–+
|      1 | Paperweight         |      3.99 |
|      2 | Key ring            |      2.99 |
|      3 | Commemorative plate |     14.99 |
|      4 | Pencils (set of 4)  |      1.99 |
|      5 | Coasters (set of 3) |      4.99 |
+——–+———————+———–+
5 rows in set (0.00 sec)

Now, to do the same thing using PHP, create the following PHP script:

<html>
<head></head>
<body>
<?php
// open connection to MySQL server
$connection = mysql_connect(’localhost’, ‘guest’, ‘pass’) ↵
or die (’Unable to connect!’);
// select database for use
mysql_select_db(’db2′) or die (’Unable to select database!’);
// create and execute query
$query = ‘SELECT * FROM items’;
$result = mysql_query($query) ↵
or die (’Error in query: $query. ‘ . mysql_error());
// check if records were returned
if (mysql_num_rows($result) > 0)
{
    
 // print HTML table
     echo ‘<table width=100% cellpadding=10 cellspacing=0 border=1>’;
     echo
‘<tr><td><b>ID</b></td><td><b>Name</b></td><td><b>Price</b></td></tr>’;
      // iterate over record set
      // print each field
     while($row = mysql_fetch_row($result))
     {
          echo ‘<tr>’;
          echo ‘<td>’ . $row[0] . ‘</td>’;
          echo ‘<td>’ . $row[1] . ‘</td>’;
          echo ‘<td>’ . $row[2] . ‘</td>’;
          echo ‘</tr>’;
     }
     echo ‘</table>’;
}
else
{
     // print error message
     echo ‘No rows found!’;
}
// once processing is complete
// free result set
mysql_free_result($result);
// close connection to MySQL server
mysql_close($connection);
?>
</body>
</html>

Output:

 

1. To begin communication with the MySQL database server, you first need to
open a connection to the server. All communication between PHP and the
database server takes place through this connection, which is initialized by
the mysql_connect() function.

The mysql_connect() function requires three parameters: the host
name of the MySQL server, and the MySQL username and password
required to gain access to it. If the function is able to successfully initialize
a connection, it returns a link identifier, which is stored in the variable
$connection. This identifier is used throughout the script when
communicating with the database.

2. Once a connection has been initialized, the next step is to select a database
for use (this is equivalent to the SQL USE command) with the mysql_
select_db() command, and then send the server a query through the
mysql_query() function. Both functions use the last opened connection
as their default for all operations.

3. The result set returned by the query is assigned to the variable $result.
This result set may contain, depending on your query, zero or more rows
or columns of data. The number of rows in the result set is obtained from
the mysql_num_rows() function. Assuming one or more rows exist,
the mysql_fetch_row() function is used to iterate over the result set
and retrieve rows as arrays. Individual field values can then be accessed as
array elements.

4. Each result set returned by a query occupies some amount of memory.
Once you’re done processing it, therefore, it’s a good idea to use the
mysql_free_result() function to free up the used memory for
other purposes. And, once you’re done querying the database, close the
connection with a call to mysql_close().

My Phase of ExistenceAugust 8, 2008 6:28 am

Hi guys! I just want to share with you my July Income Report. I am so happy because my income increased greatly. I know this will not be permanent, but I will try my best to work on this so that my income will be stable and increased every month.

Click Here to view my July total income report. 

Have a nice day! 

My Phase of ExistenceAugust 6, 2008 12:16 pm

I really don’t know much of myself more now because I am still in a teenager stage and I know my attitude will be change. For now I will introduce myself in my teenager life, I am Jeffrey Verula taking up Bachelor Science of Information Technology currently in the 3rd year level at University of the Immaculate Conception. I am now 18 years old born here in Philippines on October 28, 1989 at Limso Hospital. I know everyone of us has hobbies and my hobbies are playing computer games and basketball. I loved to listen music and eating cookies. I can’t reveal or tell my attitude right now because it is still not stable, but as what I have observed I am a good person and friendly.