Query Cache in MySQL is used in scenarios when the same queries need to be executed on the same data set. These queries also return the same result. Query cache is most useful when there are tables that are not expected to change very often. It is important to note that the query cache does not return old data. If the tables are modified, any important entries in the query cache are flushed.
0 Comments
MySQL is a relational database management system which is an open source database.
Features:
Twitter and Facebook Integration:http://onlinewebapplication.com/2011/08/login-facebook-twitter-php.html Facebook Integration: http://ryanmerket.com/connectdocs/ Installation Steps:
http://codex.wordpress.org/Installing_WordPress#Things_to_Know_Before_Installing_WordPress !variable, which indicates that the text should be inserted as-is. This is useful for inserting variables into things like e-mail.
<?php $message = t("If you don't want to receive such e-mails, you can change your settings at !url.", array('!url' => l(t('My account'), "user/$account->uid"))); ?> @variable, which indicates that the text should be run through check_plain, to escape HTML characters. Use this for any output that's displayed within a Drupal page. <?php $title = t("@name's blog", array('@name' => $account->name)); ?> %variable, which indicates that the string should be HTML escaped and highlighted with theme_placeholder() which shows up by default as emphasized. <?php $message = t('%name-from sent %name-to an e-mail.', array('%name-from' => $user->name, '%name-to' => $account->name)); ?>
Perform cleanup tasks.
This hook is run at the end of each page request. It is often used for page logging and printing out debugging information. Only use this hook if your code must run even for cached page views. If you have code which must run once on all non cached pages, use hook_init instead. Thats the usual case. If you implement this hook and see an error like 'Call to undefined function', it is likely that you are depending on the presence of a module which has not been loaded yet. It is not loaded because Drupal is still in bootstrap mode. Parameters $destination: If this hook is invoked as part of a drupal_goto() call, then this argument will be a fully-qualified URL that is the destination of the redirect. Modules may use this to react appropriately; for example, nothing should be output in this case, because PHP will then throw a "headers cannot be modified" error when attempting the redirection. Return value None. User-submitted data in Drupal can be divided into three categories:
No piece of user-submitted content should ever be placed as-is into HTML. * Use check_plain or theme('placeholder') for plain text. * Use check_markup or filter_xss for markup containing text. * Use the t() function with @ or % placeholders to construct safe, translatable strings. Refer: http://drupal.org/node/28984 |