Error with extra { in PHP elseif statement -
This gives trouble to detect problems in elseif
Code Tester An additional suggestion} While I am not getting this
if (get_field ('job_slory') == "contestant") {resonance "competitive"; } Otherwise (get_field ('job_salary') == "p.a.") {resonance the_field ('job_salary_singular'); } Otherwise (get_field ('job_salary') == "p. A range") {echo "pound" The_field ('job_salary_range_start'). "-" thefield ('job_salary_range_end'); } Else (Get_field ( 'Job_salary') == "day") {echo "pound" The Field ( 'Job_slari_din_tet') == "" per day; } Otherwise (get_field ('job_salary') == "range per day") {echo "pound" The_field ('job_salary_day_range_start'). "-" The_field ( 'job_salary_day_range_end') "PD"}
Your last "echo There is no semi-colon on the line. :) Therefore, the final} appears to be extra.
Comments
Post a Comment