Code: Select all
if (strln($teaching_importance >10 or <=0)) {
$error .="You must enter a value between 1 and 10 for teaching importance.<br>";
)is the "or" statement the way to go abotu this or do I have to do something else? and should I have parenthesis all after the 0 like i do or like this
Code: Select all
if (strln($teaching_importance) >10 or <=0) (
$error .="You must enter a value between 1 and 10 for teaching importance.<br>";
)