Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to store case sensitive data in mysql ?
how repair mysql table?
diff bet float, double,real?
diff bet mysql_fetch_object() and mysql_fetch_array()?
which version of mysql support procedure , trigger?
diff php4 and php 5?
op - 2+5+"8"=?
how to create object in javascript?
query - select games from team who won games 2/4/6?
NaN command in php?
How to offload System date in mysql?
typecasting in php?
how to convert string to two decimal no?
how to parse xml file in php
command line argument in php?
diff bet $msg,$$msg?
diff bet require(), include(), include_once()?
tables in mysql?

Answer Posted / dinesh g

Q : diff bet mysql_fetch_object() and mysql_fetch_array()?
A : mysql_fetch_object() will return the resulted row as
object, mysql_fetch_array() will return the resulted row as
associated array and numeric array.

Q : diff php4 and php 5?
A :
# Unified __Constructor & Destructor,
# introduced magic method like, __call, __tostring, __get,
__set.
# introduced autoload().
# Added visibility using Public.,private,protected
# Added abstract class and interfaces
# Class constants and static methods.

Q : op - 2+5+"8"=?
A : 2 & 5 is numeric 8 is a string
so 2+5 = 7, then 7 is concatinated with 8
result : 78

Q : command line argument in php?
A : Once CLI [ Command Line Interface ] is opened the to run
a file execute the below command.
$php sample.php
Note : If sample.php was coded as per CGI [ I.e., Not CLI ]
then it may not execute properly.

Q : diff bet $msg,$$msg?
A : $msg is a variable which can hold values of the user and
$$msg is a reference variable. which can refer some other
variable.

Q : diff bet require(), include(), include_once()?
A : All the three are to include another php file to access
the variables & methods of that php.

require() -> it will not execute if the file is not found
provide error and stops executing.
include() -> it'l show warning if file not found also it
will execute the other codes of the php file
include_once() -> file should be included only once else
it'll return a warning message.

Q : tables in mysql?
A : I guess u mean Engines in Mysql not tables. So if u
meant as Engine, then
1)MyISAM
2)ISAM
3)Heap
4)innodb
5)BDB

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is PHP runs on different platforms (Windows, Linux, Unix, etc.)?

981


What is the function func_num_args() used for?

913


How to submit form without a submit button.

998


Explain how we can get the number of elements in an array?

968


What is the method to execute a php script from the command line?

989


How to include variables in double-quoted strings in php?

915


What is difference between mysql_fetch_array and mysql_fetch_assoc?

901


Explain the difference between php4 and php5.

941


Is multiple inheritance supported in php?

954


What are the three parts of an http request?

922


What are headers in php?

908


Differentiate between php5 and php7?

1028


Describe the security vulnerability of PHP?

993


what is CURL?

974


Why is php used?

960