Skip to main content

Some of the good sentences that one should keep in mind.

Don’t compare yourself with anyone in this world. If you do so, you are insulting yourself.  You are not responsible for what people think about you. But you are responsible for what you give them to think about you.
  1. A man is lucky if he is the first love of a woman.
    A woman is lucky if she is the last love of a man.
  2. Write your Sad times in Sand, Write your Good times in Stone.
  3. Behind every successful man, there is an untold pain in his heart.
  4. Without your involvement you can't succeed. With your involvement you can't fail.
  5. Love your job but don't love your Company because you may not know when your company stops loving you.
  6. You may get DELAYED to reach your Targets. But every step you take towards your target is EQUAL to Victory.
  7. It's better to loose your Ego to the one you Love, than to loose the one you LOVE because of EGO.
  8. Don't make promise when you are in JOY . Don't reply when you are SAD. Don't take decisions when you are ANGRY. Think twice, Act wise. BE happy.
  9. When you start caring about yourself, you start loving somebody. But when start caring about others somebody will start loving you.
  10. What is the Secret of SUCCESS... ? 'RIGHT DECISIONS' How do you make Right Decisions... 'EXPERIENCE'
  11. How do you get Experience... ? 'WRONG DECISIONS'
  12. Happiness is like a radio station , broadcasting all d time. U just have to learn HOW TO TUNE in & receive it properly. Stay tuned n b HAPPY always!

Comments

Popular posts from this blog

Set Multisite in drupal

For Linux 9.10 Please Follow the steps : 1) Extract the drupal in public html folder or any other folder.(say exampleDrupal). 2) Add below lines to exampleDrupal/sites/sites.php     $sites['site1.test'] = 'site1.test';     $sites['site2.test'] = 'site2.test'; 3)  Create two folders in exampleDrupal/sites/ folder.       as site1.test & site2.test.      OR      Using terminal run following commands :      i)  cd example.com/sites      ii) mkdir site1.test/ site2.test/ 4) Copy the default.settings.php file from  exampleDrupal/sites/default to site1.test &  site2.test folder.     OR      Using terminal run following commands :       i) cp default/default.settings.php site1.test/settings.php       ii) cp default/default.settings.php si...

To get pager on page

Use of pager query :   Drupal 4.6 - 6 :  pager_query($query, $limit = 10, $element = 0, $count_query = NULL) Perform a paged database query. Use this function when doing select queries you wish to be able to page. The pager uses LIMIT-based queries to fetch only the records required to render a certain page. However, it has to learn the total number of records returned by the query to compute the number of pages (the number of records / records per page). This is done by inserting "COUNT(*)" in the original query. For example, the query "SELECT nid, type FROM node WHERE status = '1' ORDER BY sticky DESC, created DESC" would be rewritten to read "SELECT COUNT(*) FROM node WHERE status = '1' ORDER BY sticky DESC, created DESC". Rewriting the query is accomplished using a regular expression.  $output1 .= theme('pager',null, $count, 0); This is used to get the number. We can use this pager query in "Custom Search...