PHP Tutorials

Whether just getting started or an expert, this vast collection of PHP tutorials will help you create dynamic content for powerful web-based applications in no time.

Results via Envato Market

By Mark Williams on July 30, 2000 Index.phtml How do all these fit together? Well, this is probably best shown by building the page, which we are going to use to present the content to our users, namely index.phtml. 1: <? 2: include “constants.inc”; 3: include “mysqldb.obj”; 4: include “genericinfo.obj”;…

By Mark Williams on July 30, 2000 Development Process As always, we will start by defining our global constants, then we’ll move onto create our data schema (and database), followed by our data class, then our box classes and finally, we’ll create the .phtml file, which will bring it all…

By Mark Williams on July 30, 2000 mysqldb Class So, now we have defined our RDBMS and we know where our data is stored. It’s time to start playing around with OO!!!! If you have played around with PHP for any length of time, you will be well aware there…

By Mark Williams on July 30, 2000 linkbox Class This class will take the data which it is supplied with and then generate the linkbox for us. Essentially, a multi-part array is parsd to the linkbox. This means the array will consist of each piece of data, which is made…

By Mark Williams on July 30, 2000 resultbox Class This is not dissimilar to the linkbox class, except there is not HREF link invovled. instead we create a two-column nested table and place the parsed data into it. <?php class resultbox extends genericinfo {     /*         Set up the Object. You will notice, we have not reserved memory          space for variables. In this circumstance it is not necessary.     */     //constructor     function resultbox() {         $this->genericinfo();     }     /*         This is the only method within the class. Quite simply, as you can see …

By Mark Williams on July 30, 2000 genericinfo Class In this particular scenario, we are going to create three classes. That’s right, three classes. One for managing the data and two sub-classes for drawing the boxes. Let’s start with the managing data class (which we’ll call genericinfo). Here’s the code:…

By Mark Williams on July 30, 2000 main.css Finally, here is the Style Sheet, which will be used throughout! Not much more to say on this 😉 1: <STYLE> 2: .bugresolver { 3: 4: } 5: TD { 6: font-family: verdana, arial, courier; 7: font-size: 10; 8: } 9: 10:…

By Mark Williams on December 4, 2000 The purpose of this article is to address the apparently widespread wave of pessimism surrounding WAP technology and of its impending demise! There are many articles currently being pushed from pillar to post around the Internet, about how WAP is about to fall…

By Mark Williams on December 4, 2000 Perception I recently read an article, which talked – in reasonable depth – about how devices running with a leading manufacturer’s software/operating system (and, no I don’t mean Microsoft) were so much better than WAP devices, because they didn’t stop working if you…

By Mark Williams on December 4, 2000 The Future Many articles today talk about the demise of WAP. In fact, things couldn’t be further from the truth! WAP may well be over-hyped and over-marketed for the consumer today, but for business, it certainly does have a place. Mind you, it…