shlok.mobi
General Knowledge Questions and Answers - 89
PHP
Questions and Answers
Prepare for Interview
Question:
why we need a function like fetch_object and what is the purpose of using it?Procedural programmers do use functional and OOPs programmers use class and objects.
Answer:
So it's just a facility and not a burden on anybody. If you're following OOPs pattern then you may use mysql_fetch_object function otherwise get the processing done using mysql_fetch_assoc function. It all depends the kind of model we're using. The only difference is whether you want to use array or object??


More Questions :
  • How to get the value of current session id?
  • can we get the ID genrated from the previous insert operation ?
  • What is the purpose of ob_start() ?
  • How do you upload videos using PHP & MySQL
  • What are encryption functions in PHP?
  • How can we increase the execution time of a php script?
  • How many open modes available when a file open in PHP?
  • Explain the types of functions for Splitting String?
  • What is the basic syntax of Php?
  • what is sql injection ?
  • How to delete a file from the system
  • How to redirect a page in php?
  • How to create a session? How to set a value in session ? How to Remove data from a session?
  • What is Full form of PHP ? Who is the father or inventor of PHP ?
  • What is Full form of PHP ? Who is the father or inventor of PHP ?
  • What are the differences between PHP3 and PHP4 and PHP5 ? what is the current stable version of PHP ? what advance thing in php6
  • How can we encrypt the username and password using PHP?
  • What is a Session?
  • How many ways we can pass the variable through the navigation between the pages?
  • What are the different functions in sorting an array?
  • Test your English Language
  • Comics of the Day
  • Business Success Tips
  • Road Safety Tips
  • Tips to get ready for Host a party
  • Unstable Countries In The World
  • Best Romantic Places In India
  • Strangely Unique Schools
  • Most Precarious Places On Earth
  • Jerusalem
  • Latest New Cars
  • Sunil Gavaskar
  • The Lion and Rabbit
  • Myth about Alien
  • Best Foods to Eat to Gain Muscle
  • Tips for Smart Work
  • Mathura
  • What to Eat in Jammu and Kashmir
  • Finance Calculators
  • Amitabh Bachan
  • Xmas For Kids
  • Xmas Lights
  • loading...

    Did you Know :

    A group of whales is called a pod or gam
    More ...

    Shlok Consultants