Im trying to repopulate my form but this error is shown
Parse error: syntax error, unexpected 'set_value' (T_STRING), expecting ',' or ';' in C:\xampp\htdocs\groupie\application\views\register.php on line 31
Here is my code
echo '<div class="form-group has-error">
<label class="control-label" for="inputError">School ID:</label>
<input type="text" class="form-control" name="inputSchoolID" id="inputError" value="'set_value('inputSchoolID')';">
<span class="help-block">'. form_error('inputSchoolID') .'</span>
</div>';
This is the part where it errors
value="'set_value('inputSchoolID')';"