This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl -X PUT http://localhost:9200/job_pool -H "Content-Type: application/json" -d '{ | |
| "mappings": { | |
| "properties": { | |
| "id": { | |
| "type": "keyword" | |
| }, | |
| "type": { | |
| "type": "keyword" | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var myModule; | |
| try { | |
| // try to get a previously created module | |
| myModule = angular.module('myModule'); | |
| } catch { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $GetTheValidationRule=mysqli_query($con,"SELECT * FROM Questions WHERE Form_ID='$FormID' AND QuestionsDataHave='YES' ORDER BY Questions_ID+0, Questions_ID"); | |
| $ValidatinArray=array(); | |
| $J=0; | |
| while($RowVal=mysqli_fetch_array($GetTheValidationRule)){ | |
| $ValidatinArray[$J]= $RowVal['Validation_Type']; | |
| $J++; | |
| } | |
| ?> |