Quadrillio's Posts
Nairaland Forum › Quadrillio's Profile › Quadrillio's Posts
1 2 3 4 5 6 7 8 ... 15 16 17 18 19 20 21 22 23 (of 25 pages)
be my guest |
just wondering whose relation is the oldest on Nairaland, my in now three years and eight days old. let share, |
there is a free tutorial going on Nairaland https://www.nairaland.com/nigeria/topic-193865.0.html and you can start here http://www.w3schools.com/php/default.asp (is also useful) hope this helps, |
Today, we take on loops. and happy to infom you that the that there will be a task at the end od this tutorial. Loops PHP offers three types of loop constructs that all do the same thingrepeat a section of code a number of timesin slightly different ways. The while Loop The while keyword takes a condition in parentheses, and the code block that follows is repeated while that condition is true. If the condition is false initially, the code block will not be repeated at all. Infinite Loops The repeating code must perform some action that affects the condition in such a way that the loop condition will eventually no longer be met; otherwise, the loop will repeat forever. The following example uses a while loop to display the square numbers from 1 to 10: $count = 1; while ($count <= 10) { $square = $count * $count; echo "$count squared is $square <br>"; $count++; } The counter variable $count is initialized with a value of 1. The while loop calculates the square of that number and displays it, then adds one to the value of $count. The ++ operator adds one to the value of the variable that precedes it. The loop repeats while the condition $count <= 10 is true, so the first 10 numbers and their squares are displayed in turn, and then the loop ends. The do Loop The do loop is very similar to the while loop except that the condition comes after the block of repeating code. Because of this variation, the loop code is always executed at least onceeven if the condition is initially false. The following do loop is equivalent to the previous example, displaying the numbers from 1 to 10, with their squares: $count = 1; do { $square = $count * $count; echo "$count squared is $square <br>"; $count++; } while ($count <= 10); The for Loop The for loop provides a compact way to create a loop. The following example performs the same loop as the previous two examples: for ($count = 1; $count <= 10; $count++) { $square = $count * $count; echo "$count squared is $square <br>"; } As you can see, using for allows you to use much less code to do the same thing as with while and do. A for statement has three parts, separated by semicolons: The first part is an expression that is evaluated once when the loop begins. In the preceding example, you initialized the value of $count. The second part is the condition. While the condition is true, the loop continues repeating. As with a while loop, if the condition is false to start with, the following code block is not executed at all. The third part is an expression that is evaluated once at the end of each pass of the loop. In the previous example, $count is incremented after each line of the output is displayed. Nesting Conditions and Loops So far you have only seen simple examples of conditions and loops. However, you can nest these constructs within each other to create some quite complex rules to control the flow of a script. Remember to Indent The more complex the flow control in your script is, the more important it becomes to indent your code to make it clear which blocks of code correspond to which constructs. Breaking Out of a Loop You have already learned about using the keyword break in a switch statement. You can also use break in a loop construct to tell PHP to immediately exit the loop and continue with the rest of the script. The continue keyword is used to end the current pass of a loop. However, unlike with break, the script jumps back to the top of the same loop and continues execution until the loop condition fails. The Task ======= 1, with your experience with loops, creata a multiplication table from 2 to 25 e.g. 2 time 1 =2 2 time 2= 4 , , , (till) 2 times 12 =24 3 times 1 =3 3 times 2=6 (to 25) 2, display the even number between 1 to 100; NB please paste your code here so that everyone can learn. See ya |
please I need this tutorials my mail is quadri20_wale @ yahoo.com |
Olasile_F:I plan to start giving out exercises after my last tenth lecture. and to give out a project after the whole class. by then my joy will be filled that I have accomplished my GOAL(which is to impact positively on everyone that knows me). My yahoo id is quadri20_wale [at] yahoo.com. just in case you will like to talk, am always online(only when network dey Bleep up). okay let start, sorry for the break, it was due to a Nairalander who asked me to fixed a script for him. which is now done. In the last lesson you have learned how variables work in PHP. In the next lesson you will see how to use conditional and looping statements to control the flow of your script. we'll look at two types of flow control: conditional statements, which tell your script to execute a section of code only if certain criteria are met, and loops, which indicate a block of code that is to be repeated a number of times. Conditional Statements A conditional statement in PHP begins with the keyword if, followed by a condition in parentheses. The following example checks whether the value of the variable $number is less than 10, and the echo statement displays its message only if this is the case: $number = 5; if ($number < 10) { echo "$number is less than ten"; } The condition $number < 10 is satisfied if the value on the left of the < symbol is smaller than the value on the right. If this condition holds true, then the code in the following set of braces will be executed; otherwise, the script jumps to the next statement after the closing brace. Boolean Values Every conditional expression evaluates to a Boolean value, and an if statement simply acts on a trUE or FALSE value to determine whether the next block of code should be executed. Any zero value in PHP is considered FALSE, and any nonzero value is considered trUE. As it stands, the previous example will be trUE because 5 is less than 10, so the statement in braces is executed, and the corresponding output is displayed. Now, if you change the initial value of $number to 10 or higher and rerun the script, the condition fails, and no output is produced. Braces are used in PHP to group blocks of code together. In a conditional statement, they surround the section of code that is to be executed if the preceding condition is true. Brackets and Braces You will come across three types of brackets when writing PHP scripts. The most commonly used terminology for each type is parentheses (()), braces ({}), and square brackets ([]). Braces are not required after an if statement. If they are omitted, the following single statement is executed if the condition is true. Any subsequent statements are executed, regardless of the status of the conditional. Braces and Indentation Although how your code is indented makes no difference to PHP, it is customary to indent blocks of code inside braces with a few space characters to visually separate that block from other statements. Even if you only want a condition or loop to apply to one statement, it is still useful to use braces for clarity. It is particularly important in order to keep things readable when you're nesting multiple constructs. Conditional Operators PHP allows you to perform a number of different comparisons, to check for the equality or relative size of two values. PHP's conditional operators are shown in Table 3.1. Table 3.1. Conditional Operators in PHP Operator Description == Is equal to === Is identical to (is equal and is the same data type) != Is not equal to !== Is not identical to < Is less than <= Is less than or equal to > Is greater than >= Is greater than or equal to = or ==? Be careful when comparing for equality to use a double equals symbol (==). A single = is always an assignment operator and, unless the value assigned is zero, your condition will always return trueand remember that TRUE is any nonzero value. Always use == when comparing two values to avoid headaches. Logical Operators You can combine multiple expressions to check two or more criteria in a single conditional statement. For example, the following statement checks whether the value of $number is between 5 and 10: $number = 8; if ($number >= 5 and $number <= 10) { echo "$number is between five and ten"; } The keyword and is a logical operator, which signifies that the overall condition will be true only if the expressions on either side are true. That is, $number has to be both greater than or equal to 5 and less than or equal to 10. Table 3.2 shows the logical operators that can be used in PHP. Table 3.2. Logical Operators in PHP Operator Name Description !a NOT True if a is not true a && b AND True if both a and b are true a || b OR True if either a or b is true a and b AND True if both a and b are true a xor b XOR True if a or b is true, but not both a or b OR True if either a or b is true You may have noticed that there are two different ways of performing a logical AND or OR in PHP. The difference between and and && (and between or and ||) is the precedence used to evaluate expressions. Table 3.2 lists the highest-precedence operators first. The following conditions, which appear to do the same thing, are subtly but significantly different: a or b and c a || b and c In the former condition, the and takes precedence and is evaluated first. The overall condition is true if a is true or if both b and c are true. In the latter condition, the || takes precedence, so c must be true, as must either a or b, to satisfy the condition. Operator Symbols Note that the logical AND and OR operators are the double symbols && and ||, respectively. These symbols, when used singularly, have a different meaning, as you will see in Lesson 5, "Working with Numbers." Multiple Condition Branches By using an else clause with an if statement, you can specify an alternate action to be taken if the condition is not met. The following example tests the value of $number and displays a message that says whether it is greater than or less than 10: $number = 16; if ($number < 10) { echo "$number is less than ten"; } else { echo "$number is more than ten"; } The else clause provides an either/or mechanism for conditional statements. To add more branches to a conditional statement, the elseif keyword can be used to add a further condition that is checked only if the previous condition in the statement fails. The following example uses the date function to find the current time of daydate("H" gives a number between 0 and 23 that represents the hour on the clockand displays an appropriate greeting:$hour = date("H" ;if ($hour < 12) { echo "Good morning"; } elseif ($hour < 17) { echo "Good afternoon"; } else { echo "Good evening"; } This code displays Good morning if the server time is between midnight and 11:59, Good afternoon from midday to 4:59 p.m., and Good evening from 5 p.m. onward. Notice that the elseif condition only checks that $hour is less than 17 (5 p.m.). It does not need to check that the value is between 12 and 17 because the initial if condition ensures that PHP will not get as far as the elseif if $hour is less than 12. The code in the else clause is executed if all else fails. For values of $hour that are 17 or higher, neither the if nor the elseif condition will be true. elseif Versus else if In PHP you can also write elseif as two words: else if. The way PHP interprets this variation is slightly different, but its behavior is exactly the same. The switch Statement An if statement can contain as many elseif clauses as you need, but including many of these clauses can often create cumbersome code, and an alternative is available. switch is a conditional statement that can have multiple branches in a much more compact format. The following example uses a switch statement to check $name against two lists to see whether it belongs to a friend: switch ($name) { case "Damon": case "Shelley": echo "Welcome, $name, you are my friend"; break; case "Adolf": case "Saddam": echo "You are no friend of mine, $name"; break; default: echo "I do not know who you are, $name"; } Each case statement defines a value for which the next block of PHP code will be executed. If you assign your first name to $name and run this script, you will be greeted as a friend if your name is Damon or Shelley, and you will be told that you are not a friend if your name is either Adolf or Saddam. If you have any other name, the script will tell you it does not know who you are. There can be any number of case statements preceding the PHP code to which they relate. If the value that is being tested by the switch statement (in this case $name) matches any one of them, any subsequent PHP code will be executed until a break command is reached. Breaking Out The break statement is important in a switch statement. When a case statement has been matched, any PHP code that follows will be executedeven if there is another case statement checking for a different value. This behavior can sometimes be useful, but mostly it is not what you wantso remember to put a break after every case. Any other value for $name will cause the default code block to be executed. As with an else clause, default is optional and supplies an action to be taken if nothing else is appropriate. |
The face-off between Ogun State Governor Gbenga Daniel and Senator Iyabo Obasanjo-Bello worsened on Tuesday with the two parties reporting their altercation on Saturday to the Senate. Skip to next paragraph Photo file Otunba Gbenga Daniel and Senator Iyabo Obasanjo-Bello While Obasanjo-Bello narrated her alleged ordeal in the hands of one of Daniel’s security aides on the floor of the Senate, the Ogun State Government forwarded a petition in which it described the senator’s action as “provocative” to the upper arm of the National Assembly. The Senate, after listening to Obasanjo-Bello and contributions by some of its members, mandated its committees on Ethics, Privileges and Public Petitions, National Security and Intelligence to investigate cases of brutalisation of civilians by security agents. Obasanjo-Bello had, shortly after the plennary began, raised Order 15 of the Senate Standing Orders 2007 as amended and gave details of the face-off between her and Daniel’s security aide during the wedding of the daughter of Oyo State Governor Adebayo Alao-Akala at the First Baptist Church, Ogbomoso. The Order reads, “Any Senator may rise at any time to speak upon a matter of Privilege suddenly arising, and shall be prepared to move, without Notice, a motion declaring that a contempt or breach of privilege has been committed, or referring the matter to the Committee on Ethics and Privileges, but if the matter is raised in Committee of the Whole Senate, the chairman shall leave the chair to report progress.” The Senator said, “Sir, it is an issue of assault by a member of the State Security Service on my person and I feel that giving the prevailing circumstances, I should bring it to notice here on the floor.” Asked what happened by the President of the Senate, Mr. David Mark, Obasanjo-Bello said, “On Saturday sir, I was invited and duly attended a wedding in which I sat behind the governor of my state (Daniel). When the thanksgiving was going on sir, I got up to praise the Lord as is usual in such ceremonies. “The security agents attached to the governor was standing by my side and the governor was sitting in front of me and I was jubilating with the celebrant (raising her hand a little above shoulder length), this was as much as how my hand was up and I was dancing and praising the Lord and the next thing I knew was the security agent pulled my hand and twisted it back, saying that I was about to touch the governor’s head. “What I did was to push him and I said what kind of nonsense is this? He came and stood in front of me. I stood up and went to another seat. “And, sir, given the fact that recently, a young female was beaten up on the streets of Lagos mercilessly, I think we need to caution our security agents because that issue became an international debacle and if they continue like this sir, we don’t know where it will end. “All that the man (Daniel’s Security aide) needed to do was say, ‘ma, please be careful, the governor’s head is in front of you.” She claimed that an edited version of the video clip of the incident was currently being aired on some television stations in Ogun state. According to her, what was being shown does not contain where the security aide twisted her hand. Obasanjo-Bello wondered when it became an offence to dance behind a governor. Before ruling on her Point of Order, Mark said from what he read in the papers, the senator was accused of dancing “provocatively.” Contributing to the debate, the Deputy President of the Senate, Mr. Ike Ekweremadu, said though the incident was condemnable, the matter should have come under an Order of Personal Explanation instead of Breach of Privilege. Senator Joy Emordi said, “ It is very unfortunate. What happened is an insult on the psyche of the people of this country, Nigerian women in particular, because I was wondering what the security men, so many of them, were doing behind the governor in a church where they were praying to God.” Senator Olorunnimbe Mamora, however, called for caution. He said the floor of the Senate should not be used as a platform to settle political scores. He said since the problem was largely political, it deserved a political solution. Senator Joseph Akaagerger in his contribution appealed to the President of the Senate to intervene and encourage a rapport between legislators and their state governors. The Chairman of the Senate Committee on National Security and Intelligence, Senator Nuhu Aliyu, said the case of Obasanjo-Bello was the second involving lawmakers. Aliyu recalled that Senator Suleiman Nasif suffered a similar treatment in the hands of security agents in Bauchi State. He promised to take up the matter with the Director-General of the State Security Service. But the Ogun State Government said in the petition it sent to the Senate that Obasanjo-Bello had ridiculed the office of the governor and caused him serious embarrassment. The petition by the Secretary to the State Government, Mr. Gbemi Onakoya, which was addressed to the President of the Senate, accused the Senator of ”throwing caution and protocol to the wind by assaulting a security detail who had tried to stop her from further assaulting the governor.” Onakoya attached the video clip and newspaper cutting of the incident, which he said “properly captured and articulated the show of shame exhibited by the lawmaker at the event.” He added, ”The embattled Senator was watched by all freely throwing caution and protocol to the wind by directly assaulting a security detail who tried to prevail on her not to assault His Excellency. “A situation where the person of His Excellency will be subjected to such provocative acts and ridicule to the consternation of the congregation in that church by any individual or group would not augur well for genuine political discipline, and would, therefore, not be acceptable.” The petition also catalogued some other acts allegedly perpetrated by the Senator at different fora in the state, saying they constituted “a security breach, capable of provoking reprisal attacks in the state.” The government therefore called on the Senate to commence necessary process of taking action against the senator. http://www.punchng.com/Articl.aspx?theartic=Art200811193174246 |
Thank man @poster I just dont understand you |
HISTORY OF FC BARCELONA On November 29, 1899, Hans Gamper founded Futbol Club Barcelona, along with eleven other enthusiasts of 'foot-ball', a game that was still largely unknown in this part of the world. He could never have imagined the magnitude of what that initiative would eventually develop into. Over more than one hundred years of history, FC Barcelona has grown spectacularly in every area and has progressed into something much greater than a mere sports club, turning Barça’s ‘more than a club’ slogan into a reality. Barça has become, for millions of people all around the world, a symbol of their identity, and not just in a sporting sense, but also in terms of society, politics and culture. Throughout the most difficult of times, Barça was the standard that represented Catalonia and the Catalan people's desire for freedom, a symbolism that has continued to be closely linked to the idiosyncrasy of the Club and its members to this day. Within the context of Spain, Barça is seen as an open and democratic club. And all around the world, Barça is identified with caring causes, and most especially children through its sponsorship agreement with Unicef. For a whole century, FC Barcelona has passed through moments of glory and pain, periods of brilliance and other less successful ones, epic victories and humbling defeats. But all these different moments have helped define the personality of a Club that, due to its peculiar nature, is considered unique in the world. With over one hundred years of history, there have naturally been many different periods, both in a social and a sporting sense. In the early years (1899-1922) , from the foundation of the club to the construction of Les Corts stadium, Barça was a club that had to distinguish itself from all the other football teams in Barcelona, to the point that it would come to be identified with the city as a whole. Barça soon became the leading club in Catalonia, and also associated itself with the increasingly growing sense of Catalan national identity. From Les Corts to the Camp Nou (1922-1957), the club went through contrasting periods. Its membership reached 10,000 for the first time, while football developed into a mass phenomenon and turned professional, and these were the years of such legendary figures as Alcántara and Samitier. But due to material difficulties and the political troubles of the Spanish Civil War and post-war period, the club was forced to overcome several adverse circumstances, including the assassination of president Josep Sunyol in 1936, the very person who had propagated the slogan ‘sport and citizenship'. But the club survived, and a period of social and sporting recovery materialised in the form of the Camp Nou, coinciding with the arrival of the hugely influential Ladislau Kubala. From the construction of the Camp Nou to the 75th anniversary (1957-1974) , Barça suffered mediocre results but was consolidated as an entity, with a constantly increasing membership and the slow but steady recovery, in the face of adversity, of its identity. A very clear sensation that was manifested for the first time ever in the words ‘Barça, more than a club’ proclaimed by president Narcís de Carreras. The board presided by Agustí Montal brought a player to Barcelona who would change the history of the club, Johan Cruyff. From the 7th anniversary to the European Cup (1974-1992) the club saw the conversion of football clubs to democracy, the start of Josep Lluís Núñez’s long presidency, the extension of the Camp Nou on occasion of the 1982 World Cup and the Cup Winners Cup triumph in Basle (1979), a major success not just in a sporting sense but also in a social one, with an enormous and exemplary expedition of Barça supporters demonstrating to Europe the unity of the Barcelona and Catalan flags. Cruyff returned, this time as coach, and created what would come to be known as the 'Dream Team' (1990-1994), whose crowning glory was the conquest of the European Cup at Wembley (1992), thanks to Koeman’s famous goal. From Wembley to Paris (1992-2006) was when the club’s most recent developments occurred in between its two greatest achievements, becoming champions of Europe. Josep Lluís Núñez’s long presidency came to and end, and the club displayed its finest potential during the celebrations of the club Centenary. Following on from Joan Gaspart (2000-2003), the June 2003 election brought Joan Laporta into office, and the start of new social expansion, reaching 150,000 members, and more successes on the pitch, including two league titles and the Champions League won in Paris. The grandeur of Futbol Club Barcelona is explained, among many other factors, by its impressive honours list. Very few clubs anywhere in the world have won so many titles. The Intercontinental Cup is the only major football trophy that has never made its way into the club museum, where the club's greatest pride and joy remain the two European Cups won at Wembley (1992) and in Paris (2006). These were Barça's finest hours on the continental stage, but the Club also has the honour of being the only one to have appeared in every single edition of European club competition since the tournaments were first created back in 1955. Barcelona's many achievements in Europe include being considered 'King of the Cup Winners Cup', having won that title a record four times. In addition, FC Barcelona also won three Fairs Cups (the tournament now known as the UEFA Cup) in 1958, 1960 and 1966. In 1971, Barça won that trophy outright in a match played between themselves, as the first ever winners of the competition, and Leeds United, as the last. But Barça not only rules in Europe, but also in Spanish competitions, specifically in the national cup, the Copa del Rey, which they have won 24 times, more than any other club. The Spanish League has traditionally been one of the competitions Barcelona has found the hardest to win, but especially thanks to some wonderful seasons in the 1990s, a decade when six championships were won, and two more championships in the last two years, Fútbol Club Barcelona has now won 18 Spanish League titles Trophies * Copa d'Europa Champions League 2 1991-92, 2005-06 * Recopa d'Europa European Cup Winners Cup 4 1978-79, 1981-82, 1988-89, 1996-97 * Copa de Fires Fair Cup 3 1957-58, 1959-60, 1965-66 * Supercopa d'Europa European Super Cup 2 1992-93, 1997-98 * Lliga Spanish League Championship 18 1928-29, 1944-45, 1947-48, 1948-49, 1951-52, 1952-53, 1958-59, 1959-60, 1973-74, 1984-85, 1990-91, 1991-92, 1992-93, 1993-94,1997-98, 1998-99, 2004-05, 2005-06 * Copa del Rei Spanish Cup 24 1909-10, 1911-12, 1912-13, 1919-20, 1921-22, 1924-25, 1925-26, 1927-28, 1941-42, 1950-51, 1951-52, 1952-53, 1956-57, 1958-59, 1962-63, 1967-68, 1970-71, 1977-78, 1980-81, 1982-83, 1987-88, 1989-90, 1996-97, 1997-98 * Supercopa d'Espanya Spanish Supercup 7 1983-84, 1991-92, 1992-93, 1994-95, 1996-97, 2005-06, 2006-07 * Copa Llatina Spanish League Cup 2 1982-83, 1985-86 * Copa de la Lliga Latin Cup 2 1948-49, 1951-52 * Campionat de Catalunya Catalan League Championship 22 1901-1902, 1904-05, 1908-09, 1909-10, 1910-11, 1912-13, 1915-16, 1918-19, 1919-20, 1920-21, 1921-22, 1923-24, 1924-25, 1925-26, 1926-27, 1927-28, 1929-30, 1930-31, 1931-32, 1934-35, 1935-36, 1937-38 * Copa Catalunya Catalan Cup 6 1990-91, 1992-93, 1999-00, 2003-04, 2004-05, 2006-07 THE MOST CONSISTENT CLUB SO FAR ( 10 League Games UNBEATEN, still counting, ) |
Welcome back, I have decided to continue so that everyone can have a two way of learn PHP. let's start. Data Types Every variable that holds a value also has a data type that defines what kind of value it is holding. The basic data types in PHP are shown in Table 2.2. Table 2.2. PHP Data Types Data Type & Description Boolean - A truth value; can be either TRUE or FALSE. Integer - A number value; can be a positive or negative whole number. Double (or float) - A floating-point number value; can be any decimal number. String - An alphanumeric value; can contain any number of ASCII characters. When you assign a value to a variable, the data type of the variable is also set. PHP determines the data type automatically, based on the value you assign. If you want to check what data type PHP thinks a value is, you can use the gettype function. Running the following code shows that the data type of a decimal number is double: $value = 7.2; echo gettype($value); The complementary function to gettype is settype, which allows you to override the data type of a variable. If the stored value is not suitable to be stored in the new type, it will be modified to the closest value possible. The following code attempts to convert a string value into an integer: $value = "22nd January 2005"; settype($value, "integer" ;echo $value; In this case, the string begins with numbers, but the whole string is not an integer. The conversion converts everything up to the first nonnumeric character and discards the rest, so the output produced is just the number 22. Analyzing Data Types In practice, you will not use settype and gettype very often because you will rarely need to alter the data type of a variable. This book covers this topic early on so that you are aware that PHP does assign a data type to every variable. Type Juggling Sometimes PHP will perform an implicit data type conversion if values are expected to be of a particular type. This is known as type juggling. For example, the addition operator expects to sit between two numbers. String type values are converted to double or integer before the operation is performed, so the following addition produces an integer result: echo 100 + "10 inches"; This expression adds 100 and 10, and it displays the result 110. A similar thing happens when a string operator is used on numeric data. If you perform a string operation on a numeric type, the numeric value is converted to a string first. In fact, you already saw this earlier in this lesson, with the concatenation operatorthe value of $weight that was displayed was numeric. The result of a string operation will always be a string data type, even if it looks like a number. The following example produces the result 69, butas gettype shows$number contains a string value: $number = 6 . 9; echo $number; echo gettype(6 . 9); We will look at the powerful range of operators that are related to numeric and string data types in PHP in Lessons 5, "Working with Numbers," and 6, "Working with Strings." Variable Variables It is possible to use the value stored in a variable as the name of another variable. If this sounds confusing, the following example might help: $my_age = 21; $varname = "my_age"; echo "The value of $varname is ${$varname}"; The output produced is The value of my_age is 21 Because this string is enclosed in double quotes, a dollar sign indicates that a variable's value should become part of the string. The construct ${$varname} indicates that the value of the variable named in $varname should become part of the string and is known as a variable variable. The braces around $varname are used to indicate that it should be referenced first; they are required in double-quoted strings but are otherwise optional. The following example produces the same output as the preceding example, using the concatenation operator: echo 'The value of ' . $varname . ' is ' . $$varname; See you in the next class. |
I know it's easy, but its always better to start like that. the next is a music player for a group of people, depending on who you select it will play its favourite music? I really need this thank once again |
I need the code to close my flash app. thanks in advance |
Pro Evolution Soccer 6 - The Expert Guide Over the years I’ve probably bought around eight strategy guides. Usually it’s for a Pokemon game my children are enjoying or a strategy or RPG game that I’ve got myself hooked into. Last year I decided to purchase the strategy guide for Pro Evolution Soccer 5. I wouldn’t normally purchase a strategy guide for a sports game but the guide was being sold for half price and the Pro Evolution Soccer series has always been one that no matter how good you are at the games, you can always improve. Published by Piggyback Interactive the guide was very informative and very useful. Naturally then when I was offered the chance to review Pro Evolution Soccer 6 – The Expert Guide I seized it with both hands. Piggyback Interactive produce some very high quality strategy guides. Having seen their guides for Kingdom Hearts II and Final Fantasy X, I was surprised that no compromises had been made in terms of their presentation. All screenshots were in colour, superb artwork was used throughout and information was presented in a clear and concise fashion. The same high quality presentation has been used for Pro Evolution Soccer 6 – The Expert Guide and it not only looks first class but it’s also chock full of everything you could wish to know about the game. The guide is 210mm x 280mm in size (approximately A4 size) and contains around 170 pages. The paper quality is impressive (115gsm) and slightly glossy. The guide uses a superb mixture of screenshots and drawings to illustrate the text information. The included sections are as follows: * Introduction * How to Play * Coaching Manual * Secret Moves & Tricks * Tactics & Strategies * Master League * Team & Player Guide * Extras A comprehensive Index has been included which allows you to find exactly what you want as quickly as possible. A DVD has also been included and contains the following: * Coaching Manual * Secret Moves * Situation Guide * Beautiful Goals * Interview (with PES creator Seabass) The important thing to emphasize with this guide is that it is for everyone who plays Pro Evolution Soccer 6. Whether you’re a seasoned veteran of the series or whether this is the first time you’ve picked up a Pro Evolution Soccer game, this guide is the ultimate reference guide. The Introduction chapter talks about what’s new in PES 6, the accompanying DVD, new moves and expert tips amongst other things. How to Play shows you the control schemes for the PlayStation 2, PC and Xbox 360 versions of the game. It discusses the various modes included with the game and guides beginners through the process of playing their first game. By far the most useful sections of The Expert Guide are the Coaching Manual and Secret Moves & Tips. The Coaching Manual explains every major move, trick and technique in the game and does so rather impressively. For each move you get a screenshot, the PlayStation 2, PC and Xbox 360 controls, a difficulty and effectiveness rating, execution tips, general advice and a list of player abilities that are taken into account when performing the move. You also get a DVD reference number which allows you to find a clip of the move being carried out on the DVD. Whilst the guide by itself is excellent, being able to see the move in action using the DVD really adds a whole new dimension to the guide. The same level of excellence can also be found in the Secret Moves & Tips section, which will show you all of the undocumented tricks and techniques that are in PES 6. Once again you’ll find a movie clip for each move on the DVD. The Pro Evolution Soccer series is not a by-the-numbers football series. Everything matters. Each player has their own special abilities and controls differently. The process of taking a shot on goal has a variety of variables such as which foot is used, the timing of the shot and whether the player is being pressured at the time of taking the shot. Likewise the tactical decisions that you make can really impact the game. PES 6 is not a game you can simply jump into and win without putting the effort in to learn all that the game has to offer and the following sections are very helpful in this respect. Tactics & Strategies opens your eyes in terms of the difference that can be made through effective use of formations and player instructions. Beginners will simply jump into a game without giving any thought to such things but in PES 6 this isn’t a wise thing to do, especially on the higher difficulty settings. Organising your team effectively and knowing how to man manage your team is crucial to being successful. You’ll also find yourself having a greater understanding and appreciation of just how realistic PES 6 is once you’ve read through this section. So you’ve played a few matches and maybe played through a competition or two but when it comes down to it the real challenge in PES 6 is the Master League and it even has its very own chapter. The Master League chapter leaves no stone unturned. Everything is explained including how to setup a new Master League game with all the options and competition structures being discussed. Team management, contract negotiations and player development are also covered. Most will want to know who the future superstars will be and the included talent guide will show you who the established stars of today are as well as the promising youngsters. The Team & Player Guide is the biggest section in the guide and discusses all of the major teams in the game as well as the default Master League team. For each of these teams you’ll be shown a player guide (for the 23 most important players in the squad) that shows you player abilities, special abilities, tricks and ratings for each player. The team guide shows you preferred formations, strengths and weaknesses, alternative formations and tactical settings for each side. There’s also a section that looks at the game’s superstars. Finally, the Extras chapter looks at the various unlockable items and features you can obtain in PES 6. It lists all of the items that can be bought in the PES Shop (on the PC and PlayStation 2 versions only). It also discusses the game’s Edit Mode. There is also a Stadium Guide showing screenshots of every stadium used in the game. Finally it moves on to Xbox 360 specifics. Here you’ll get to see what’s different with the Xbox 360 (sadly it’s mostly discussing its limitations as you all probably know the Xbox 360 version shipped with quite a few features stripped out). Those all important Xbox 360 Achievements are also listed. There’s little doubt that Pro Evolution Soccer 6 – The Expert Guide is an essential purchase. It’s a complete reference guide to the PlayStation 2, PC and Xbox 360 versions of the game and will help you to get the most out of your game in ways you might not have thought possible. Sure there are various text guides out there on the Internet and quite a few fan forums exist for the PES series but none of what you can find online matches what this guide has to offer. It’s worth mentioning that deaf gamers will have no problems at all with the guide or DVD. Even the interview with Seabass is subtitled. The inclusion of the DVD to demonstrate the moves really adds a lot to the experience and makes the guide a more effective learning tool. This DVD is sold for 12 pounds but for the sake of my fellow nairalander is am making it free for everyone This is link: http://rapidshare.com/users/6MFLJT Password to enter the folder: enjoy Unzip Password: goal |
if you gree 60k call my line 08077796668 |
I've started a tread similar to these https://www.nairaland.com/nigeria/topic-193865.0.html#msg3086749 Am planning to join with you just in case may help is need or I should continue with mine Fellow Nairalander & @ poster what is your opinion. |
Hello, I stumbled on this tread on PHP https://www.nairaland.com/nigeria/topic-191707.32.html I just to ask you fellow nairalanders Should I continue or I should collabo with the guy cos am asking him. or what do you think ![]() so that I can continue. |
smartsoft:you can holle sha |
Welcome today, NB: incase you have any problem (about installation or tutorial) please post it so that it can be treated. Everybody is here to learn. Understanding Variables Variablescontainers in which values can be stored and later retrievedare a fundamental building block of any programming language. For instance, you could have a variable called number that holds the value 5 or a variable called name that holds the value Chris. The following PHP code declares variables with those names and values: $number = 5; $name = "Chris"; In PHP, a variable name is always prefixed with a dollar sign. If you remember that, declaring a new variable is very easy: You just use an equals symbol with the variable name on the left and the value you want it to take on the right. Declaring Variables Unlike in some programming languages, in PHP variables do not need to be declared before they can be used. You can assign a value to a new variable name any time you want to start using it. Variables can be used in place of fixed values throughout the PHP language. The following example uses echo to display the value stored in a variable in the same way that you would display a piece of fixed text: $name = "Chris"; echo "Hello, "; echo $name; The output produced is Hello, Chris Naming Variables The more descriptive your variable names are, the more easily you will remember what they are used for when you come back to a script several months after you write it. It is not usually a good idea to call your variables $a, $b, and so on. You probably won't remember what each letter stood for, if anything, for long. Good variable names tell exactly what kind of value you can expect to find stored in them (for example, $price or $name). Case-Sensitivity Variable names in PHP are case-sensitive. For example, $name is a different variable than $Name, and the two could store different values in the same script. Variable names can contain only letters, numbers, and the underscore character, and each must begin with a letter or underscore. below shows some examples of valid and invalid variable names. Examples of Valid and Invalid Variable Names Valid Variable Names Invalid Variable Names $percent $pct% $first_name $first-name $line_2 $2nd_line Using Underscores Using the underscore character is a handy way to give a variable a name that is made up of two or more words. For example $first_name and $date_of_birth are more readable for having underscores in place. Another popular convention for combining words is to capitalize the first letter of each wordfor example, $FirstName and $DateOfBirth. If you prefer this style, feel free to use it in your scripts but remember that the capitalization does matter. Expressions When a variable assignment takes place, the value given does not have to be a fixed value. It could be an expressiontwo or more values combined using an operator to produce a result. It should be fairly obvious how the following example works, but the following text breaks it down into its components: $sum = 16 + 30; echo $sum; The variable $sum takes the value of the expression to the right of the equals sign. The values 16 and 30 are combined using the addition operatorthe plus symbol (+)and the result of adding the two values together is returned. As expected, this piece of code displays the value 46. To show that variables can be used in place of fixed values, you can perform the same addition operation on two variables: $a = 16; $b = 30; $sum = $a + $b; echo $sum; The values of $a and $b are added together, and once again, the output produced is 46. Variables in Strings You have already seen that text strings need to be enclosed in quotation marks and learned that there is a difference between single and double quotes. The difference is that a dollar sign in a double-quoted string indicates that the current value of that variable should become part of the string. In a single-quoted string, on the other hand, the dollar sign is treated as a literal character, and no reference is made to any variables. The following examples should help explain this. In the following example, the value of variable $name is included in the string: $name = "Chris"; echo "Hello, $name"; This code displays Hello, Chris. In the following example, this time the dollar sign is treated as a literal, and no variable substitution takes place: $name = 'Chris'; echo 'Hello, $name'; This code displays Hello, $name. Sometimes you need to indicate to PHP exactly where a variable starts and ends. You do this by using curly brackets, or braces ({}). If you wanted to display a weight value with a suffix to indicate pounds or ounces, the statement might look like this: echo "The total weight is {$weight}lb"; If you did not use the braces around $weight, PHP would try to find the value of $weightlb, which probably does not exist in your script. You could do the same thing by using the concatenation operator, the period symbol, which can be used to join two or more strings together, as shown in the following example: echo 'The total weight is ' . $weight . 'lb'; The three valuestwo fixed strings and the variable $weightare simply stuck together in the order in which they appear in the statement. Notice that a space is included at the end of the first string because you want the value of $weight to be joined to the word is. If $weight has a value of 99, this statement will produce the following output: The total weight is 99lb See you tomorrow |
@ kobojunkie can you tell me a law that fashola has made, and he has not enforced. |
I can give u a video tutorial on After Effect (AE) on video editing and motion graphics if you are in lagos, call me on 08077796668. (weekends only) |
welcome to todays class!! first I forgot to introduce myself in my last lesson. My Name is Olawale Quadri, am a web developer. you can call me on 08077796668 (for questions and assistance). Okay, enough intros let go on with todays lecture. by now I believe you have your php installed and your enviroment done. in case you need PHP its free you can download it online ( or better still u can download XAMPP or WAMP) google them(as a developer you need to know how to make little research like this onces) Let start. Go ahead and create a new file called time.php that contains Listing 1.1, in a location that can be accessed by a PHP-enabled web server. This is a slight variation on the date example shown previously. Listing 1.1. Displaying the System Date and Time The time is <?php echo date('H:i:s');?> and the date is <?php echo date('j F Y');?> When you enter the URL to this file in your web browser, you should see the current date and time, according to the system clock on your web server, displayed. Running PHP Locally If you are running PHP from your local PC, PHP code in a script will be executed only if it is accessed through a web server that has the PHP module enabled. If you open a local script directly in the web browserfor instance, by double-clicking or dragging and dropping the file into the browserit will be treated as HTML only. Web Document Location If you were using a default Apache installation in Windows, you would create time.php in the folder C:\Program Files\Apache Group\Apache\htdocs, and the correct URL would be http://localhost/time.php. If you entered Listing 1.1 exactly as shown, you might notice that the actual output produced could be formatted a little betterthere is no space between the time and the word and. Any line in a script that only contains code inside PHP tags will not take up a line of output in the generated HTML. If you use the View Source option in your web browser, you can see the exact output produced by your script, which should look similar to the following: The time is 15:33:09and the date is 13 October 2004 If you insert a space character after ?>, that line now contains non-PHP elements, and the output is spaced correctly. The echo Command While PHP is great for embedding small, dynamic elements inside a web page, in fact the whole page could consist of a set of PHP instructions to generate the output if the entire script were enclosed in PHP tags. The echo command is used to send output to the browser. Listing 1.1 uses echo to display the result of the date command, which returns a string that contains a formatted version of the current date. Listing 1.2 does the same thing but uses a series of echo commands in a single block of PHP code to display the date and time. Listing 1.2. Using echo to Send Output to the Browser <?php echo "The time is "; echo date('H:i:s'); echo " and the date is "; echo date('j F Y'); ?> The non-dynamic text elements you want to output are contained in quotation marks. Either double quotes (as used in Listing 1.2) or single quotes (the same character used for an apostrophe) can be used to enclose text strings, although you will see an important difference between the two styles in Lesson 2, "Variables." The following statements are equally valid: echo "The time is "; echo 'The time is '; Notice that space characters are used in these statements inside the quotation marks to ensure that the output from date is spaced away from the surrounding text. In fact the output from Listing 1.2 is slightly different from that for Listing 1.1, but in a web browser you will need to use View Source to see the difference. The raw output from Listing 1.2 is as follows: The time is 15:59:50 and the date is 13 October 2004 There are no line breaks in the page source produced this time. In a web browser, the output looks just the same as for Listing 1.1 because in HTML all whitespace, including carriage returns and multiple space or tab characters, is displayed as a single space in a rendered web page. A newline character inside a PHP code block does not form part of the output. Line breaks can be used to format the code in a readable way, but several short commands could appear on the same line of code, or a long command could span several linesthat's why you use the semicolon to indicate the end of a command. Listing 1.3 is identical to Listing 1.2 except that the formatting makes this script almost unreadable. Listing 1.3. A Badly Formatted Script That Displays the Date and Time <?php echo "The time is "; echo date('H:i:s'); echo " and the date is " ; echo date( 'j F Y' ); ?> Using Newlines If you wanted to send an explicit newline character to the web browser, you could use the character sequence \n. There are several character sequences like this that have special meanings, and you will see more of them in Lesson 6, "Working with Strings." Comments Another way to make sure your code remains readable is by adding comments to it. A comment is a piece of free text that can appear anywhere in a script and is completely ignored by PHP. The different comment styles supported by PHP are shown in Table 1.1. Comment Styles in PHP Comment & Description // or # Single-line comment. Everything to the end of the current line is ignored. /* , */ Single- or multiple-line comment. Everything between /* and */ is ignored. Listing 1.4 produces the same formatted date and time as Listings 1.1, 1.2, and 1.3, but it contains an abundance of comments. Because the comments are just ignored by PHP, the output produced consists of only the date and time. Listing 1.4. Using Comments in a Script <?php /* time.php This script prints the current date and time in the web browser */ echo "The time is "; echo date('H:i:s'); // Hours, minutes, seconds echo " and the date is "; echo date('j F Y'); // Day name, month name, year ?> Listing 1.4 includes a header comment block that contains the filename and a brief description, as well as inline comments that show what each date command will produce. In the lessons so far you have learned how PHP works in a web environment, and you have seen what a simple PHP script looks like. In the next lesson you will learn how to use variables. See you tomorrow. |
I have started a post to teach poeple PHP for Free. questions are wel com https://www.nairaland.com/nigeria/topic-193865.0.html#msg3066161 you also start here http://www.w3schools.com/php/default.asp |
information technological |
After much noise of people who want to learn PHP. I will like to let them know that I have take it upon myself to teach it and I welcome any PHP Question Lets Start What Is PHP PHP is a programming language that was designed for creating dynamic websites. It slots into your web server and processes instructions contained in a web page before that page is sent through to your web browser. Certain elements of the page can therefore be generated on-the-fly so that the page changes each time it is loaded. For instance, you can use PHP to show the current date and time at the top of each page in your site, as you'll see later in this lesson. The name PHP is a recursive acronym that stands for PHP: Hypertext Preprocessor. It began life called PHP/FI, the "FI" part standing for Forms Interpreter. Though the name was shortened a while back, one of PHP's most powerful features is how easy it becomes to process data submitted in HTML forms. PHP can also talk to various database systems, giving you the ability to generate a web page based on a SQL query. For example, you could enter a search keyword into a form field on a web page, query a database with this value, and produce a page of matching results. You will have seen this kind of application many times before, at virtually any online store as well as many websites that do not sell anything, such as search engines. The PHP language is flexible and fairly forgiving, making it easy to learn even if you have not done any programming in the past. If you already know another language, you will almost certainly find similarities here. PHP looks like a cross between C, Perl, and Java, and if you are familiar with any of these, you will find that you can adapt your existing programming style to PHP with little effort. [size=8pt][size=8pt] Server-Side Scripting[/size][/size] The most important concept to learn when starting out with PHP is where exactly it fits into the grand scheme of things in a web environment. When you understand this, you will understand what PHP can and cannot do. The PHP module attaches to your web server, telling it that files with a particular extension should be examined for PHP code. Any PHP code found in the page is executedwith any PHP code replaced by the output it producesbefore the web page is sent to the browser. File Extensions The usual web server configuration is that somefile.php will be interpreted by PHP, whereas somefile.html will be passed straight through to the web browser, without PHP getting involved. The only time the PHP interpreter is called upon to do something is when a web page is loaded. This could be when you click a link, submit a form, or just type in the URL of a web page. When the web browser has finished downloading the page, PHP plays no further part until your browser requests another page. Because it is only possible to check the values entered in an HTML form when the submit button is clicked, PHP cannot be used to perform client-side validationin other words, to check that the value entered in one field meets certain criteria before allowing you to proceed to the next field. Client-side validation can be done using JavaScript, a language that runs inside the web browser itself, and JavaScript and PHP can be used together if that is the effect you require. The beauty of PHP is that it does not rely on the web browser at all; your script will run the same way whatever browser you use. When writing server-side code, you do not need to worry about JavaScript being enabled or about compatibility with older browsers beyond the ability to display HTML that your script generates or is embedded in. PHP Tags Consider the following extract from a PHP-driven web page that displays the current date: Today is <?php echo date('j F Y');?> The <?php tag tells PHP that everything that follows is program code rather than HTML, until the closing ?> tag. In this example, the echo command tells PHP to display the next item to screen; the following date command produces a formatted version of the current date, containing the day, month, and year. The Statement Terminator The semicolon character is used to indicate the end of a PHP command. In the previous examples, there is only one command, and the semicolon is not actually required, but it is good practice to always include it to show that a command is complete. In this book PHP code appears inside tags that look like <?php , ?>. Other tag styles can be used, so you may come across other people's PHP code beginning with tags that look like <? (the short tag), <% (the ASP tag style) or <SCRIPT LANGUAGE="php"> (the script tag). Of the different tag styles that can be used, only the full <?php tag and the script tag are always available. The others are turned off or on by using a PHP configuration setting. We will look at the php.ini configuration file in Lesson 23, "PHP Configuration." Standard PHP Tags It is good practice to always use the <?php tag style so your code will run on any system that has PHP installed, with no additional configuration needed. If you are tempted to use <? as a shortcut, know that any time you move your code to another web server, you need to be sure it will understand this tag style. Anything that is not enclosed in PHP tags is passed straight through to the browser, exactly as it appears in the script. Therefore, in the previous example, the text Today is appears before the generated date when the page is displayed. end of todays lecture Tomorrow is another Day |
Abeg forget d Schools let talk of the student. you are what you make of yourself not what the school of you |
I thank you all for the Info Will post what I was able to find out later Regards Olawale Quadri |
switchmax8:Give me your number, I will call you when am in lagos, so that you can have it. umayjolly:Can u please call me this during the midnight? olush0la:I've a friend that wants to learn but am not around to take him. he will call you Later Thanks in Advance |
hamjaf:Please I love rising but dont know how to get the full version? How can you help me? please. |
Web Developer + Web Designer + Database Administrator = WebMaster ![]() |
I just need the cert not the training, how do I get it. call me on 08077796668 |
alexxie:Please help my guy. @poster hope u find a nice replacement. but I neva u could jus switch off on me like that with all your nice talk. am cool am just surprise how poeple change. God knows am now cool. (case u care to know what came up for my request. call me) mayoor. my person indeed. |
I think you now have ALEXI please do let me how it went. BIG BOY. Mayoor. my guy |
1 2 3 4 5 6 7 8 ... 15 16 17 18 19 20 21 22 23 (of 25 pages)
gives a number between 0 and 23 that represents the hour on the clockand displays an appropriate greeting: