i have the following fields in table "section" in my db name,url,info
i have this query
<? include ("db.php");
$query = "SELECT * FROM section";
$result = mysql_query($query, $db) or die(mysql_error());
$numRows = mysql_num_rows($result);
for ($count = 0; $count < $numRows; $count++) {
$resultArray = mysql_fetch_array($result);
$dataresult = $resultArray["info"]; ?>
i just want it to pull the "info" from the relevant record not from all
e.g $sectionname is the same as "name" so if its homepage i want it to pull just the info for that record. if that makes sense?