tag:blogger.com,1999:blog-81637379503907005692024-02-08T18:00:49.433+05:30Php Interview Questions with AnswersPHP Questions, PHP Answers, PHP Questions with Answers.Aswani Kumarhttp://www.blogger.com/profile/07289292566574471441noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-8163737950390700569.post-92125751849956874702010-03-30T11:50:00.000+05:302010-03-30T11:50:23.297+05:30How to turn off, restart, and shut down Linux Server using putty?Following are the listing of each of the commands that will enable a user to shut down, turn off, reboot, etc.
1.) halt
2.) poweroff
3.) reboot
4.) shutdown
Cheers!Aswani Kumarhttp://www.blogger.com/profile/07289292566574471441noreply@blogger.com0tag:blogger.com,1999:blog-8163737950390700569.post-91183688479905481972009-03-14T17:20:00.001+05:302009-03-14T17:20:36.540+05:30What is the difference between mysql_fetch_object and mysql_fetch_array?MySQL fetch object will collect first single matching record where mysql_fetch_array will collect all matching records from the table in an arrayAswani Kumarhttp://www.blogger.com/profile/07289292566574471441noreply@blogger.com0tag:blogger.com,1999:blog-8163737950390700569.post-65824730655753037842009-03-14T17:19:00.000+05:302009-03-14T17:20:01.382+05:30What are the differences between require and include, include_once?All three are used to an include file into the current page.If the file is not present, require(), calls a fatal error, while in include() does not.The include_once() statement includes and evaluates the specified file during the execution of the script. This is a behavior similar to the include() statement, with the only difference being that if the code from a file has already been included, itAswani Kumarhttp://www.blogger.com/profile/07289292566574471441noreply@blogger.com0tag:blogger.com,1999:blog-8163737950390700569.post-41277658648787089602009-03-14T17:18:00.001+05:302009-03-14T17:18:59.008+05:30What is the difference between $message and $$message?$message is a simple variable whereas $$message is a reference variable. Example:$user = 'bob'is equivalent to$holder = 'user';$$holder = 'bob';Aswani Kumarhttp://www.blogger.com/profile/07289292566574471441noreply@blogger.com0tag:blogger.com,1999:blog-8163737950390700569.post-92190168031836383792009-03-13T23:13:00.003+05:302009-03-13T23:25:03.345+05:30PHP Interview Questions With AnswersClick at title of post to see the number of php interview questions.Aswani Kumarhttp://www.blogger.com/profile/07289292566574471441noreply@blogger.com0tag:blogger.com,1999:blog-8163737950390700569.post-86469600626181967712009-03-13T22:57:00.000+05:302009-03-13T22:59:34.423+05:30Difference b/w echo and print?There are following difference:1. echo is a statement and print is a function.2. echo can take multiple argument whereas print do not.3. echo is faster then print function.Aswani Kumarhttp://www.blogger.com/profile/07289292566574471441noreply@blogger.com1tag:blogger.com,1999:blog-8163737950390700569.post-29048529680323539912009-03-13T22:46:00.000+05:302009-03-13T22:54:11.501+05:30What is PHP?PHP stands for PHP Hypertext Preprocessor. PHP is a scripting language embedded in HTML. for example:<?php $name = "ashwani kumar"; ?><table><tr><td><?php echo $name; ?></td></tr></table>PHP start with <?php tag and end with ?> tag.Aswani Kumarhttp://www.blogger.com/profile/07289292566574471441noreply@blogger.com0