Hi i am fetching the data from mysql data base i want get the index of the columns in the table
<?php
//connects to database
$con = mysql_connect("locahost","root","");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("appulentoweb", $con);
//retrieve data from database
$result = mysql_query("SELECT * FROM questions");
?>
i want get the index of the columns in the table then i will display that data in the screen.
in the table i have 2 columns i'e qno and titile i want display that titles in the output page
Thanks in Advance...