"; //include("metadata.php"); $result = mysql_query("SELECT * FROM quran_text, Quran WHERE sura='$s1' AND SuraID='$s1' AND VerseID=aya"); //$result = mysql_query($sql) or die(mysql_error()); while($row = mysql_fetch_array($result)) { echo ""; echo ""; echo $row['text']; echo ""; echo " ("; echo $row['VerseID']; echo ") "; echo $row['AyahText']; echo ""; } echo ""; mysql_close($con); ?>