Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SAP Sybase SQL Anywhere 16.0 » SQL Anywhere サーバ プログラミング » PHP サポート » SQL Anywhere PHP 拡張 » PHP スクリプトの開発

 

PHP を使用してデータベースからデータを取得する方法

Web ページでの PHP スクリプトの用途の 1 つとして、データベースに含まれる情報の取り出しと表示があります。次に示す例で、役に立つテクニックをいくつか紹介します。

 単純な select クエリ
 カラム名によるフェッチ
 ネストされた結果セット