woman use herbal viagra

just another regularban.info web blog

MEMBERS:

Using Functions

Functions are used to perform a well defined task that is normally repeated at various places within a web site, web application, or other software application. The function sometimes needs certain information before performing its task, and sometimes returns a value to the calling page or program.

An example of how to use a simple function in PHP:

 function showMessage() {

echo "{$_SESSION["message"]}"; }

The above example shows a very simple function that displays the contents of a session variable called 'message'. The idea being that while a user is using a web site, etc, various messages are generated and stored in the 'message' session variable. Whenever the showMessage function is called, the contents of the session variable are displayed. So, for example, when the user logs on, you could display a message saying that they have done so. Likewise, when they log off, a different message could be displayed.

Calling a function

To call the showMessage function, you would just need to include the line:

showMessage()

in the web page (wrapped in php tags to distinguish it from normall HTML).

Passing values to a function

Often, a function requires one or more input values in order to perform its task. For example, take the following example that takes two numbers as input, and adds them together. The result is then returned to the calling web page or program.

function addNumbers($number1,$number2) {

$answer = $number1 + $number2;

return $answer; }

In the calling program we would have something similar to the following:

$number1 = "5";
$number2 = "6";
$sumOfNumbers = addNumbers($number1,$number2);
echo "$sumOfNumbers";

Obviously, in a real program you would not have the numbers hardcoded like this, but they would be obtained from user input or by some other means. Notice also that although the name of the returned variable is $answer, the calling program makes no reference to that. We could, if we wanted to, change the calling program to:

$answer = addNumbers($number1,$number2);
echo "$answer";

which might make things slightly easier to understand.

About the Author: John Dixon is a web developer working for My Health Questions Matter, a company that helps users of the health service to ask the right questions when discussing their medical condition with health professionals. John is also interested in computer history, and maintains http://www.computernostalgia.net, a site dedicated to the history of the computer. John also provides web development services to large and small clients via his own company John Dixon Technology Limited.

 


Google Analytics Training

Launched on November 2005, Google Analytics was an instance hit to all webmaster around the planet. Giving millions of people the capability to learn more about the web surfers that wandered through their website, the revolutionary service provide by the behemoth, Google incorporated, changed the way webmasters gathered and interpreted information from their websites. By simply adding a HTML code onto every web page that you want to track, you can gain insight on the behavior of your visitors and more.

So how do you use Google Analytics? Though most have a limited understanding of the service, many still remain in the dark on how to use key features and just how to interpret the data. Are you finding yourself in that position? Well if you are, you are in need of some Google Analytics training. With that said, allow me to teach you some very basic ways to interpret some of the information provided by the service.

One common mistake multitudes of people make when interpreting the reports section is the differences between page views and page/visit. Some just don't know what page/visit is and fewer don't know exactly what page views are. Very simply, page views are the number of times your visitors have viewed the pages on your website. Please keep in mind that page views and visits are also different as well. One visitor can view many of your web pages before leaving. Your reports can tell you that you've had one visitor and six page views. That tells you that the visitor saw six of your web pages before leaving. The page/visit metric is an average of all your visitors and all your page views. It tells you how many pages each of your visitors on average viewed before leaving your website. The page views and page/visit are very simple, yet very powerful metrics that will help you keep track on your website's performance.

Even though that is just the tip of the iceberg when it comes to getting the full Google Analytics training, the basic information I provided should have opened up your eyes to see the value that Google Analytics provides. Before you even think about using this service make sure that you get complete training so that you can get the most out of it.

Google Analytics Training: Visit GlyticVideos to get the most complete training. It will turn a rookie to an expert at lightspeed. Earn $1,000 checks telling others about GlyticVideos by joining the GlyticVideos Affiliate Program

Stephan Smith - EzineArticles Expert Author

 


Community Web Development - Latest Trend

In the first generation web technologies were developed to tap the resources from a commercial point of view. The patrons perceived the development of the new media to bring more profits in terms of monetary gains. But as the web world advances to take over new responsibilities and roles, its very character is observing changes that are more or less inclined towards the human side.

The maxim of Web 2.2 which goes as 'Web for the people and by the people' clearly gives an insight of the new character adopted by the web and the emergence of community services. In the new era the developmental work as such emphasizes on increased participation of the audience member. It is this audience, the users spread all over the world that drive the web today.

In order to bring increased levels of participation and give way to more interactions, many community service programs have been thrown open to the people. At present a plethora of community services like Face book, Orkut, Hi5, etc., connect the people and communities at large. Blogs and forums have further helped as better tools and platforms for interacting with each other. Then there are Wikis that make available important online resources for the people at large.

In community web development technologies have primarily been redeveloped to make them user-friendly and interactive. On technical front both the designing as well as the scientific coding have been utilized to forge the end product for the benefit of the people at large. As of now many of these products or online services are available as free and open ended services.

Hence community web development incorporates all those elementary changes that are required to disentangle the web from commercial values. The services and products under it have primarily been designed and developed to allow the people to come nearer and enjoy the benefits of new technology. It is worth mentioning at this point that many business organisations develop such products or deliver services to have better relations with the public. Occasionally it might happen that a free community service in the due course of time change its preferences and take a commercial identity.

Author is working with epurplemedia, an online marketing company specialises in web development services i.e ecommerce web development, web application development, Flash Web Development, etc.

 


Pages 
* About

Archives
    * February 2008
    * January 2008

Categories:
* Uncategorized

Last Updated:

regularban.info is proudly powered by WordPress MU running on  regularban.info.
Create a new blog and join in the fun!
Entries (RSS) and Comments (RSS).