answersLogoWhite

0

Hi,

Use

mysql_fetch_array($arrayname);

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

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


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.


What is it which can be done in MySQL but not in Oracle?

One notable feature that can be done in MySQL but not in Oracle is the use of the LIMIT clause to restrict the number of rows returned by a query. MySQL allows users to easily specify a limit on the number of results by using LIMIT n, whereas Oracle requires a more complex syntax involving the ROWNUM or FETCH FIRST syntax. Additionally, MySQL supports a simpler way of creating temporary tables that are automatically dropped at the end of a session, while Oracle requires more explicit management of temporary tables.


What displays the results from a search engine database?

If you find some topics in the search engines they can fetch the data from the sites and show you.... yes search engines display the data in the database and go to the specific data do u want to search..


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


How do you retrieve an image from a database using PHP?

It depends what Database you are using. I personally use MySQL so will explain how you would do it using MySQL. You would have to create the MySQL database. I would store the image URL rather than the actual image. Then call it using PHP and a MySQL query. For Example: $sql = "SELECT * FROM Images WHERE Img_Name = 'img1'"; $query = mysql_query($sql); $array = mysql_fetch_array(query); then you would call it into HTML like so:


What is meant by the term fetch when applied to waves?

In waves, fetch refers to the distance of open water over which the wind blows continuously in a constant direction, generating waves. A longer fetch typically results in larger and more powerful waves, as the wind has more time and space to transfer energy to the water surface. Fetch is an important factor in determining wave size and quality for surfing and other water activities.


How validate and retrieve data from database?

It is better to validate the data going into the database for errors rather then data coming out. The data to be retrieved can be done using the $_REQUEST or mysql_fetch_array or PDO statements. I am giving 2 simple examplesIf you want a particular data that can be obtained by using the where clause


How do you say fetch in German?

fetch = holen fetch = bringen


What is the fetch of a wave?

The lenght of time a wave has traveled or in more intelligent words The Fetch of a wave is the distance over open water over which the wind has blown (further it has travelled, the larger the wave.)


Can a cat fetch?

IT depends if you trained your cat to fetch it will probley fetch.


What are four sentences for the word fetch?

I had to fetch his leash.Fetch some water from the well. To fetch is to get an item. She thought he would fetch her slippers.