NEW LISTINGS  HOT LISTINGS  TOP RATED  EDITOR PICK  ADD A LISTING  UPDATE A LISTING  GET RATED  UPGRADE A LISTING
  HOME     MY ACCOUNT     POWER SEARCH     REGISTER     MEMBER LIST     SUGGEST CATEGORY  

Average Visitor Rating: 0.00 (out of 5)
Number of ratings: 0 Votes

Visitor Rating

Playing With Numbers
26384 Playing With Numbers http://www.apdz.com/phpbb/viewtopic.php?t=38 In an earlier tutorial, I described how to define variables as numbers. Basically you chose a variable name, for this example lets chose ?$number?, and you chose a value, we?ll use 15. The code could then be written as shown below. PHP > Tips and Tutorials > Introduction to PHP Oct 15, 2006 Chris

Write a Review   Add to My Favorite   Refer it to Friend   Report Broken Link  

Bookmark Playing With Numbers:


Other links at PHP > Tips and Tutorials > Introduction to PHP
PHP has the capability of doing thousands of different useful things. On of those useful things, is the ability to redirect users using HTTP headers alone. This is different from using plain HTML Meta tags to redirect, as using this method the user won't even see the redirect occur. This can be very useful in creating a page that redirects to different pages, depending on the input to the script.
Category:

If you are just starting to learn PHP you first need to find a free/cheap host (I personally prefer Fly2Blue as they are cheap, easy to use and offer great services and domain registration), you are then going to need to check that your host provides PHP of some kind (over all PHP tutorials, PHP5 is preferred). Or alternatively you can install your own server software and install your own version of PHP

Right, now we have a website developing environment, we need to learn to use this great language PHP. Like all great programming languages, we need to learn to print and the most common way of learning is to print "Hello, World!" and this tutorial is no exception
Category:

It is often necessary to arrange the elements in an array in numerical order from highest to lowest values (descending order) or vice versa (ascending order). If the array contains string values, alphabetical order may be needed. Sorting a one-dimensional arrays is quite easy.
Category:

Ok, so from the prototype above, we can see the function explode() (a function is denoted by the () after the name as this is where you put any parameters) will create an array (oh the joy):
Category:

Introduction to PHP
Category:




Main Category
194
2041
824
286
175
1802
1238
913
1163
7489
70
909
59
2222
174

Join Mailing List
Joining mailing list will entitle you to receive occasional emails informing you of news and updates to the site and any special offers that may be of interest to you.



Top 10
Directory Statistics

Links: 19538
Categories: 1275
Registered Users: 750
Mailing List Subscribers: 2046
Unique Outgoing Hits: 227861

Pagerank Statistics
PR 10
1 site(s)
PR 9
13 site(s)
PR 8
32 site(s)
PR 7
253 site(s)
PR 6
769 site(s)
PR 5
1891 site(s)

PHP News