出力したいデータを指定するのに問題があります。私がやろうとしているのは、レシピ テーブルに含まれるすべてのレシピ タイトルを出力することです。
$stid2 = oci_parse($conn, 'select recipetitle from recipes.recipe');
oci_execute($stid2);
while ($row = oci_fetch_array($stid2, OCI_ASSOC)) {
echo "<p>Sorry, there are no titles</p>";
} else {
echo '<p> <b>Recipe Title: </b>' . $row['recipetitle'] . '</p>';
}
}
それは可能ですか?「識別されていないインデックス」エラーが発生します。
ありがとう