Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F1299572
select_status.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Nov 18, 11:03 PM
Size
525 B
Mime Type
text/x-php
Expires
Thu, Nov 20, 11:03 PM (54 m, 28 s)
Engine
blob
Format
Raw Data
Handle
294662
Attached To
rDIAS DIAS
select_status.php
View Options
<?php
require_once
(
"../../db_connect.php"
);
global
$dbh
;
$sth_status
=
$dbh
->
prepare
(
"SELECT DISTINCT study_status_id FROM study where study_status_id<>'';"
);
$sth_status
->
execute
();
$sth_status
->
setFetchMode
(
PDO
::
FETCH_ASSOC
);
while
(
$status_row
=
$sth_status
->
fetch
()){
print
(
"<option "
.((
isset
(
$_POST
[
'status'
])
&&
$_POST
[
'status'
]==
$status_row
[
'study_status_id'
])?
"selected"
:
""
).
" value='"
.
$status_row
[
'study_status_id'
].
"'>"
.
htmlspecialchars
(
$status_row
[
'study_status_id'
],
ENT_QUOTES
).
"</option>"
);
}
?>
Event Timeline
Log In to Comment