Warning: require_once(PHPUnit/Framework.php) [function.require-once]: failed to open stream: No such file or directory If you are getting this error, the most obvious reason is you
Read tutorial ↗Getting the Browser's height and width is quite useful in many circumstances. For example if you are using a google map in your site, you will have to set a height and width for th
Read tutorial ↗With many software frameworks available online nowadays, with many pros and cons on their side, it has become very important to check out complete details of these frameworks befor
Read tutorial ↗What happens when you start manipulating the records in your tables? You can edit the book information at will without any ill effects, but what would happen if you needed to delet
Read tutorial ↗You can define any number of JDBC javax.sql.DataSource objects for the application in the configuration file under the element . Every data source is defined within the element usi
Read tutorial ↗As you'd expect in an MVC framework, every request starts at the Struts controller, the heart of which is the ActionServlet class. This servlet is usually mapped to the extension *
Read tutorial ↗The Model 1 architecture has one thing going for it: simplicity. If your project is small, simple, and self-contained, it's the quickest way to get up and running. But the previous
Read tutorial ↗The scope of an object describes how widely it's available and who has access to it. For example, if an object is defined to have page scope, then it's available only for the durat
Read tutorial ↗This article discusses what gives stored procedures their important role in serious database-driven applications. These are the many advantages that stored procedures provide
Read tutorial ↗Convert both dates to epoch timestamps and subtract one from the other. Use this code to separate the difference into weeks, days, hours, minutes, and seconds:
Read tutorial ↗You have data in comma-separated values (CSV) format, for example a file exported from Excel or a database, and you want to extract the records and fields into a format you can man
Read tutorial ↗Merging arrays with only numerical keys causes the arrays to get renumbered, so values aren't lost. Merging arrays with string keys causes the second array to overwrite the value o
Read tutorial ↗