Updating Course_id variable

In the input form of Posting New Lab assignment in COurse.php, the COurse_id variable was converted from int to a char string by adding dots around the variable. This caused a 44440 upload error since the column can only hold integers.
SIMPLICITY_Bug-189_Course_Delete_btn
CloudStarTreck 2020-04-18 17:30:40 +08:00
parent 29ad8f4499
commit 2a6ed869ff
2 changed files with 3 additions and 3 deletions

View File

@ -156,7 +156,7 @@ New Date/Time <br><input type="date" name="date" required=""> <input type="time"
?> ?>
<form method='post' enctype='multipart/form-data' action=''> <form method='post' enctype='multipart/form-data' action=''>
<input type='hidden' name='frm_uploadlab' value='true' required=''/> <input type='hidden' name='frm_uploadlab' value='true' required=''/>
<input type='hidden' name='course_id' value='<?php echo ".$id." ?>' required=''/> <input type='hidden' name='course_id' value='<?php echo "$id" ?>' required=''/>
<input type='hidden' name='url' value='<?php echo ".$course_url." ?>' required=''/> <input type='hidden' name='url' value='<?php echo ".$course_url." ?>' required=''/>
Dealine Date/Time Dealine Date/Time
@ -209,7 +209,7 @@ Submission Type <input type='radio' name='type' value='Individual' required=''>
$_SESSION['url']=$url; $_SESSION['url']=$url;
?> ?>
<input type='hidden' name='frm_uploadlab' value='true' required=''/> <input type='hidden' name='frm_uploadlab' value='true' required=''/>
<input type='hidden' name='course_id' value='<?php echo ".$id." ?>' required=''/> <input type='hidden' name='course_id' value='<?php echo "$id" ?>' required=''/>
<input type='hidden' name='url' value='<?php echo ".$course_url." ?>' required=''/> <input type='hidden' name='url' value='<?php echo ".$course_url." ?>' required=''/>
Dealine Date/Time Dealine Date/Time

View File

@ -112,7 +112,7 @@ if(isset($_SESSION['info_signup1'])) {
<hr> <hr>
<div style="" id="footer"> <div style="" id="footer">
Developed by : Mohamed Nor (201825800050)-houzi you can submit your suggestions & bug reports to mohamednor@qq.com <small>Last Update : 16/04/2020 by <i>Ashly</i> </small> Developed by : Mohamed Nor (201825800050)-houzi you can submit your suggestions & bug reports to mohamednor@qq.com <small>Last Update : 18/04/2020 by <i>Ashly</i> </small>
</div> </div>