-
Notifications
You must be signed in to change notification settings - Fork 0
karirin/test_app
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
<?php $licence_list = array( 'ITパスポート', '基本情報技術者', '応用情報技術者', 'ITストラテジスト', 'ITサービスマネージャー', 'プロジェクトマネージャー', 'システム監査技術者', 'エンベデッドシステムスペシャリスト', 'システムアーキテクト', 'データベーススペシャリスト', 'ネットワークスペシャリスト', '情報セキュリティスペシャリスト' ); $words = array(); // 現在入力中の文字を取得 $term = (isset($_GET['term']) && is_string($_GET['term'])) ? $_GET['term'] : ''; // 部分一致で検索 foreach ($licence_list as $word) { if (mb_stripos($word, $term) !== FALSE) { $words[] = $word; } } header("Content-Type: application/json; charset=utf-8"); echo json_encode($words);
About
No description, website, or topics provided.
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published