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

What is php artisan tinker?

1027


Do you know what does mvc stand for and what does each component do?

1015


How big is nvarchar max?

1061


What is php constructor?

1074


Explain what is the main difference between require() and require_once()?

1041


When viewing an html page in a browser, the browser often keeps this page in its cache. What can be possible advantages/disadvantages of page caching? How can you prevent caching of a certain page (please give several alternate solutions)?

1022


Explain the difference between isset() and empty()?

1007


How many records can be stored in mysql table?

1048


How escape single quotes php?

1037


What is 'float' property in css?

1043


How to list all values of submitted fields?

987


What is dao in php?

1014


How to delete cookie files on your computer?

1023


What are properties in php?

1015


Explain what are psrs? Choose 1 and briefly describe it?

1010