Created
February 7, 2018 09:51
-
-
Save amrrashed/2543613a0cc0ab3414cc2bc5e4e0c5e9 to your computer and use it in GitHub Desktop.
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 | |
| include('config_scholarship.php'); | |
| if(!null== filter_input(INPUT_POST,'id')){ | |
| $id=filter_input(INPUT_POST,'id'); | |
| $sql=mysqli_query($conn,"Select * from test where id='$id'"); | |
| while($row=mysqli_fetch_array($sql)) | |
| { | |
| $yearx=$row['year']; | |
| echo '<option value="'.$yearx.'">'.$yearx.'</option>'; | |
| } | |
| } | |
| ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment