Finally, i was able tyo figure out the problem I had with my code. I was only able to use variables that start with a small letter. Now i have another question. I would like to pass variables from one page into another page,
Here is the code I wrote to pass the variable. And it looks as if the program takes the value of the aFeatureID variable.
<?php
$aResult = mysql_query("select aFeatureTitle, aFeatureID, aFeatureAbstract from tbl_Features where aFeatureCategory = 'Winter Travel'");
while($aRow = @mysql_fetch_array($aResult))
{
$aTitleFeature =$aRow["aFeatureTitle"];
$aAbstractFeature =$aRow["aFeatureAbstract"];
$newFeatureID = $aRow["aFeatureID"];
<a href="features.php?newFeatureId=<?php echo $newFeatureID; ?>">go to feature page</a>
echo "<p></p>";
echo ("$aAbstractFeature");
echo "<P>";
}
?>
I have no idea how I would get the variable into the other page. Here was my idea for this:
<?php
$aTitle = mysql_query("SELECT aFeatureTitle FROM tbl_Features WHERE aFeatureID = $newFeatureID") ;
echo $aTitle;
?
The picture on the screen remains white where i would like to show the title of th article.
Thank you in advance for your help
Andrea