answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: Difference between mysql fetch row and mysql fetch assoc in PHP?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Difference between mysql fetch row and mysql fetch array in PHP?

Both return a row in a MySQL database and in most applications can be used interchangeably. The difference is that mysql_fetch_array has an extra argument called $result_type that allows the returned array to be associative (string keys) or numeric (the keys are 0..n). A mysql_fetch_array call with the numeric parameter is equivalent to mysql_fetch_row.


How do you fetch results in a column wise display using PHP and MySQL?

Hi, Use mysql_fetch_array($arrayname);


What is the difference between mysql connect and mysql pconnect in PHP?

The difference between connect() and pconnect, it is simply like a shop when u entering in shop you will open the door and take your iteam come out and close the door that is called connect() in mysql the connection to the mysql database will be automatically closed when the script terminates. when the door of the shop is already opend and never close it is called pconnect(), open a connection with mysql_pconnect(), the connection will not be closed and will "persist" for future use.


Tell you very clearly what is the difference between sql and mysql?

SQL is a universal query language used to access relational data. MySQL is a database storage engine which utilizes the SQL query language as the means to interface with the data stored.


What is the difference between text and varchar in mysql?

That is text where we put only character type value and that is varchar where we put all data type value


Is MySQL open source?

Yes, MySQL is open source and is free to download and install. You can use the MySQL Installer to install and configure MySQL server on Windows operating system. It provides a simplified installation and configuration process for MySQL products running on Microsoft Windows. The list of MySQL products includes the following items: MySQL Server MySQL Workbench MySQL Router MySQL Shell MySQL for Visual Studio MySQL Reference Manuals PDF MySQL connectors (MySQL/Python connector, MySQL/NET connector, etc.) MySQL database examples. To get started with MySQL database easily, you can use the comprehensive solution provided by dbForge Studio for MySQL, which allows you to efficiently process data and automate the management of your database objects.


How do you display database data in php?

Here's the code. This is a simple code to connect to mysql. Bare in mind PHP can connect to other database also. I am assuming you have the database and datatables in place


Is MySQL a server?

MySQL is an open source relational database management system based on SQL queries. It was developed by the Swedish company MySQL AB and is now a subsidiary of Oracle Corporation. Your could use a MySQL Client, for example dbForge Studio for MySQL, to install and connect to MySQL Server as a first steps to get started with MySQL.


How can you fetch from php rather than java and net?

I am not aware of JAVA to that scale but if you just want to fetch data from mysql then PHP is just 2 statements:Query Statement. Eg. $query = mysql_query("SELECT Name FROM table_name");Fetch Statement. Eg. while($result = mysql_fetch_array($query)){ echo $result['Name']; }Compared to .NET basic queries related to database are a lot simpler in PHP


What is MySQL AB?

MySQL AB's population is 400.


What is the logo of MySQL?

The MySQL logo is made up of the world MySQL and it has a dolphin jumping upwards on the right side.


When was MySQL created?

MySQL was first released on 23rd May 1995.