Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
apps.acj
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Franklin
apps.acj
Commits
fe1bf9ac
Commit
fe1bf9ac
authored
Mar 15, 2024
by
Hussain Mohamed
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'development' of
http://alphasoftz.net/Franklin/apps.acj
into development
parents
ff6cb240
b1f9225a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
ApplicationController.php
admin/application/controllers/ApplicationController.php
+3
-2
edit.php
admin/application/views/questions/edit.php
+1
-1
No files found.
admin/application/controllers/ApplicationController.php
View file @
fe1bf9ac
...
...
@@ -2406,6 +2406,7 @@ class ApplicationController extends CI_Controller
}
public
function
questionEdit
(
$id
){
if
(
isset
(
$_POST
[
'submit'
])){
...
...
@@ -2425,7 +2426,7 @@ class ApplicationController extends CI_Controller
'academic'
=>
$academic
,
'exam_type'
=>
$exam_type
,
'category'
=>
$category
,
'schedule_id'
=>
$schedule
,
'schedule_id'
=>
$schedule
,
'question'
=>
$question
,
'option_a'
=>
$option_a
,
'option_b'
=>
$option_b
,
...
...
@@ -2434,7 +2435,7 @@ class ApplicationController extends CI_Controller
'answer'
=>
$answer
,
);
$update
=
$this
->
mcommon
->
common_
update
(
'question'
,
$update_array
,
array
(
'id'
=>
$id
)
);
$update
=
$this
->
mcommon
->
common_
edit
(
'question'
,
$update_array
,
array
(
'id'
=>
$id
)
);
if
(
$update
)
{
...
...
admin/application/views/questions/edit.php
View file @
fe1bf9ac
...
...
@@ -26,7 +26,7 @@
<div
class=
"card "
>
<div
class=
"card-body"
>
<h2
class=
"card-title"
>
Edit Question
</h2><bR>
<form
action=
"
<?php
echo
base_url
();
?>
ApplicationController/questionEdit/
<?=
$default
[
'id'
]
?>
"
method=
"post"
enctype=
"multipart/form-data"
id=
"registration_form"
>
<form
action=
"
<?php
echo
base_url
();
?>
ApplicationController/questionEdit/
<?=
$default
[
'id'
]
?>
"
method=
"post"
enctype=
"multipart/form-data"
id=
"registration_form"
>
<div
class=
"row"
>
<div
class=
"form-group col-md-3"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment