Download jquery banner
http://dev.lousyllama.com/rotating-banner/
http://dev.lousyllama.com/collapsible-menu/#
Here all the mysql query is here
http://www.artfulsoftware.com/infotree/queries.php?&bw=1366
Mysql command List
http://www.pantz.org/software/mysql/mysqlcommands.html
http://www.databasedesign-resource.com/mysql-stored-procedures.html
http://dev.mysql.com/tech-resources/articles/mysql-storedproc.html
http://www.brainbell.com/tutorials/MySQL/Using_Stored_Procedures.htm
MySql Stored Procedure with php
http://www.macronimous.com/resources/using_stored_procedure_with_mySQL_and_PHP.asp
http://www.databasejournal.com/features/mysql/article.php/3525581/MySQL-Stored-Procedures-Part-1.htm
http://mike-hostetler.com/blog/2007/04/php-5-and-mysql-5-stored-procedures-error-and-solution-qcodo
Rss table,Rss news,Rss feed
http://www.webreference.com/authoring/languages/xml/rss/custom_feeds/
http://ajax.phpmagazine.net/2005/11/ajax_rss_reader_step_by_step_t.html
http://www.the-art-of-web.com/php/rss-example/
http://www.codeproject.com/KB/cs/rssreader.aspx
http://www.w3schools.com/php/php_ajax_rss_reader.asp
http://www.web-development-blog.com/archives/easy-payments-using-paypal-ipn/
http://stackoverflow.com/questions/1776827/php-curl-paypal-sandbox
http://www.webtechnick.com/blogs/view/219/CakePHP_SMS_Component
Importent
http://api11.cakephp.org/controller_8php-source.html
http://bakery.cakephp.org/articles/view/paypal-ipn-instant-payment-notification-plugin-complete-with-paypalhelper
jquery information
this is importent link
http://www.w3schools.com/jquery/jquery_ref_css.asp
$(this).hide()
Demonstrates the jQuery hide() function, hiding the current HTML element.
$(“#test”).hide()
Demonstrates the jQuery hide() function, hiding the element with id=”test”.
$(“p”).hide()
Demonstrates the jQuery hide() function, hiding all
elements.
$(“.test”).hide()
Demonstrates the jQuery hide() function, hiding all elements with.
$(“p.test”).hide() – hides all paragraphs with
jQuery Selectors
Use our excellent jQuery Selector Tester to experiment with the different selectors.
Selector Example Selects
* $(“*”) All elements
#id $(“#lastname”) The element with id=lastname
.class $(“.intro”) All elements with
element $(“p”) All
elements
.class.class $(“.intro.demo”) All elements with and
:first $(“p:first”) The first
element
:last $(“p:last”) The last
element
:even $(“tr:even”) All even elements
dd $(“tr:odd”) All odd elements
:eq(index) $(“ul li:eq(3)”) The fourth element in a list (index starts at 0)
:gt(no) $(“ul li:gt(3)”) List elements with an index greater than 3
:lt(no) $(“ul li:lt(3)”) List elements with an index less than 3
:not(selector) $(“input:not(:empty)”) All input elements that are not empty
:header $(“:header”) All header elements
…
:animated All animated elements
:contains(text) $(“:contains(‘W3Schools’)”) All elements which contains the text
:empty $(“:empty”) All elements with no child (elements) nodes
:hidden $(“p:hidden”) All hidden
elements
:visible $(“table:visible”) All visible tables
s1,s2,s3 $(“th,td,.intro”) All elements with matching selectors
[attribute] $(“[href]“) All elements with an href attribute
[attribute=value] $(“[href='#']“) All elements with href attribute value=”#”
[attribute!=value] $(“[href!='#']“) All elements with href attribute value<>”#”
[attribute$=value] $(“[href$='.jpg']“) All elements with href attribute value containing “.jpg”
:input $(“:input”) All elements
:text $(“:text”) All elements with type=”text”
:password $(“:password”) All elements with type=”password”
:radio $(“:radio”) All elements with type=”radio”
:checkbox $(“:checkbox”) All elements with type=”checkbox”
:submit $(“:submit”) All elements with type=”submit”
:reset $(“:reset”) All elements with type=”reset”
:button $(“:button”) All elements with type=”button”
:image $(“:image”) All elements with type=”image”
:file $(“:file”) All elements with type=”file”
:enabled $(“:enabled”) All enabled input elements
:disabled $(“:disabled”) All disabled input elements
:selected $(“:selected”) All selected input elements
:checked $(“:checked”) All checked input elements
$(“#test”).hide() – hides the element with id=”test”
jQuery Element Selectors
jQuery uses CSS style selectors to select HTML elements.
$(“p”) selects all
elements
$(“p.intro”) selects all
elements with.
$(“p#demo”) selects the
element with id=”demo”.
jQuery Attribute Selectors
jQuery uses XPath style selectors to select elements with given attributes.
$(“[href]“) select all elements with an href attribute.
$(“[href='#']“) select all elements with an href value=”#”.
$(“[href!='#']“) select all elements with an href attribute<>”#”.
$(“[href$='.jpg']“) select all elements with an href attribute containing “.jpg”.
$(“ul li:first”) The first
element of each
$(“[href$='.jpg']“) All elements with attribute href containing “.jpg”
$(“div#intro .head”) All elements with
jQuery Effects – From This Page
Function Description
$(selector).hide() Hide selected elements
$(selector).show() Show selected elements
$(selector).toggle() Toggle (between hide and show) selected elements
$(selector).slideDown() Slide-down (show) selected elements
$(selector).slideUp() Slide-up (hide) selected elements
$(selector).slideToggle() Toggle slide-up and slide-down of selected elements
$(selector).fadeIn() Fade in selected elements
$(selector).fadeOut() Fade out selected elements
$(selector).fadeTo() Fadeout selected elements to an opacity
$(selector).animation() Run a custom animation on selected elements
Changing HTML Content
$(selector).html(content)
The html() function changes the contents (innerHTML) of matching HTML elements.
$(selector).prepend(content)
The prepend() function “prepends” content to the inside of matching HTML elements.
jQuery HTML Manipulation – From This Page
Function Description
$(selector).html(content) Changes the (inner) HTML of selected elements
$(selector).append(content) Appends content to the (inner) HTML of selected elements
$(selector).prepend(content) “Prepends” content to the (inner) HTML of selected elements
$(selector).after(content) Adds HTML after selected elements
$(selector).before(content) Adds HTML before selected elements
jQuery CSS Functions – From this Page
CSS Properties Description
$(selector).css(name,value) Set the value of one style property for matched elements
$(selector).css({properties}) Set multiple style properties for matched elements
$(selector).css(name) Get the style property value of the first matched element
$(selector).height(value) Set the height of matched elements
$(selector).width(value) Set the width of matched elements
jQuery Effects Functions
Hide / Show Description
$(selector).show(speed,callback) Show selected elements
$(selector).hide(speed,callback) Hide selected elements
$(selector).toggle(speed,callback) Toggle hide and show for selected elements
Slide
$(selector).slideDown(speed,callback) Slide-show selected elements by adjusting height
$(selector).slideUp(speed,callback) Slide-hide selected elements by adjusting height
$(selector).slideToggle(speed,callback) Toggle slide-hide and slide-show for selected elements
Fade in / out
$(selector).fadeIn(speed,callback) Fade in selected elements to full opacity
$(selector).fadeOut(speed,callback) Fade out selected elements to zero opacity
$(selector).fadeTo(speed,opacity,callback) Fade selected elements to a given opacity
Animation
$(selector).animate(params,duration,effect,callback) Applies a “custom” animation for selected elements
$(selector).stop() Stops running animations on selected elements
jQuery HTML Manipulation Functions
These functions work for both XML documents and HTML documents. Exception: html()
Manipulate Description
$(selector).html(content) Set the content (inner HTML) of selected elements
$(selector).text(text) same as html(), but tags will be escaped
Getting Contents
$(selector).html() Get the contents (inner HTML) of the first selected element
$(selector).text() Get the text content of all selected elements (combined)
Adding Content
$(selector).after(content) Add content after selected elements
$(selector).before(content) Add content before selected elements
$(selector).insertAfter(selector) Add selected elements after selected elements
$(selector).insertBefore(selector) Add selected elements before selected elements
Adding Inner Content
$(selector).append(content) Append content to the inner content of selected elements
$(selector).prepend(content) “Prepend” content to the inner content of selected elements
$(content).appendTo(selector) Append selected elements to the inner content of selected elements
$(content).prependTo(selector) “Prepend” selected elements to the inner content of selected elements
Wrapping
$(selector).wrap(content) Wrap each selected element within a content
$(selector).wrapAll(content) Wrap all selected elements into one content
$(selector).wrapinner(content) Wrap selected inner child contents within a content
Copy, Replace, Remove
$(content).replaceAll(selector) Replace selected elements with selected elements
$(selector).replaceWith(content) Replace selected elements with new content
$(selector).empty() Remove all content and child elements from selected elements
$(selector).remove() Remove all selected elements
$(selector).clone() Clone all selected elements
jQuery CSS Manipulation Functions
CSS Properties Description
$(selector).css(name,value) Set the value of one style property for all selected elements
$(selector).css({properties}) Set multiple style properties for all selected elements
$(selector).css(name) Get the style property value of the first selected element
CSS Size
$(selector).height() Get the pixel height of the first selected element
$(selector).height(value) Set the height of all selected elements
$(selector).width() Get the pixel width of the first selected element
$(selector).width(value) Set the width of all selected elements
CSS Positioning
$(selector).offset() Get the pixel offset of the first selected element
$(selector).offsetParent() Get the parent pixel offset of the first selected element
$(selector).position() Get the top position of the first selected element
$(selector).scrollTop() Get the scroll top offset of the first selected element
$(selector).scrollTop(value) Set the scroll top offset of all selected elements
$(selector).scrollLeft() Get the scroll left offset of the first selected element
$(selector).scrollLeft(value) Set the scroll left offset of all selected elements
HTML2PDF generation
http://www.seven49.net/Web/en/Products/HTML2PDF_Service.htm
jquery validation link
http://www.ferdychristant.com/blog//pages/jQuery%20validation%20code
php 5 new feature
New keywords in PHP5
* final * interface * implements * public * private * protected
* abstract * clone * try * catch * throw * this
PHP5 introduces Garbage Collection
For those who don’t know what a Garbage Collection is; here is a note. Garbage Collection refers to the automatic reclamation of dynamically allocated object or variable that are no longer in accessible when an object or variable goes out of scope. An object/variable can goes out of scope only in the following circumstances:
* when you explicitly unset() it
* assign null to it
* when the method/script has completed its execution
Note on E_STRICT
A new error level, E_STRICT, has been introduced and is especially useful in the context of PHP5 OOPS. It is a useful technique for discovering where your code may need upgrading (from PHP4 to PHP5). Error level E_ALL does not encompass E_STRICT and should be set explicitly in php.ini as follows.
error_reporting = E_ALL | E_STRICT
what is an interface
Interface is a class with no data members and contains only member functions and they lack its implementation. Any class that inherits from an interface must implement the missing member function body. Interfaces is also an abstract class because abstract class always require an implementation. In PHP 5 class may inherit only one class, but because interfaces lack an implementation any number of class can be inherited. In PHP 5, interfaces may declare only methods. An interface cannot declare any variables. To extend from an Interface, keyword implements is used. PHP5 supports class extending more than one interface.
interface interfacename
{
function name()
function name1()
}
class temp implements interfacename
{
public function name
{
}
}
Example1 – Interface Class in PHP5
< ?
interface employee
{
function setdata($empname,$empage);
function outputData();
}
class Payment implements employee
{
function setdata($empname,$empage)
{
//Functionality
}
function outputData()
{
echo “Inside Payment Class”;
}
}
$a = new Payment();
$a->outputData();
?>
Example2 – Combining Abstract Class and Interface Class
< ?
interface employee
{
function setdata($empname,$empage);
function outputData();
}
abstract class Payment implements employee //implementing employee interface
{
abstract function PaymentInfo();
}
class PaySlip extends Payment
{
function collectPaySlip()
{
echo “PaySlip Collected”;
$this->outputData();
}
function outputData()
{
echo “Inside PaySlip Class”;
}
function PaymentInfo()
{
echo “Inside PaySlip Class”;
}
function setData($empname,$empage)
{
//Functionality
}
}
$a = new PaySlip();
$a->collectPaySlip();
?>
DIQ,Drupal Interview question and answer
http://drupal-interview-questions.blogspot.com/
english speaking URl
http://sawaal.ibibo.com/computers-and-technology/on-line-spoken-english-websites-462702.html
Posted by Quasar Rabbani at 3:22 AM 0 comments