Using jQuery with Other Libraries
When we are using jquery with other js framework (like Prototype, MooTools, or YUI) it will throw js error.
element.dispatchEvent is not a function
element.dispatchEvent(event);
However we can override the jquery $ function by calling jQuery.noConflict() at any point after jQuery and other library have both loaded. For example:
<script src=”prototype.js”></script>
<script src=”jquery.js”></script>
<script>
jQuery.noConflict();
// Use jQuery via [...]
PHP Mysql Interview Question and Answers
Scan directory using php
http://www.phpsmarts.com/rnd/scandir/
enjoy
Photo upload like flickr using yahoo UI.
http://www.phpsmarts.com/photos/
click on “upload photos” try demo/demo
enjoy
Find Latitude and Longitude of a place using google map.
http://www.phpsmarts.com/loglat.php
Tip 1: MySQL Connection Class
The majority of web applications I’ve worked with over the past year have used some variation of this connection class:
class DB {
function DB() {
$this->host = “localhost”; // your host
$this->db = [...]
Tips for php
How to Study for the Zend Framework Certification Test
PHP Function Reference
PHP Function Reference (PHPfr) is a Mac OS X dashboard widget that provides a fast look-up of information about the PHP Web programming language.
PHP advent 2008
In December, phpadvent.org collected the wisdom of people in the PHP community who kindly donated their ideas and tips to see us through the new year.
Useful in-browser development [...]
PHPEclipse
PHPEclipse is a popular PHP source-code editor that is open source and runs on all the major operating systems, such as Windows, Linux and Mac OS. It has all the features you’d expect from a PHP source-code editor, such as code-folding, syntax highlighting, hover-over tool tips and support for XDebug and DBG.
PhpED
PhpED is an excellent [...]