I am learning PHP using Kevin Yank’s book…i am writing the same codes that he has given on the book but the one brought the this error “Parse error: syntax error, unexpected ‘}’ in C:\xampp\htdocs\TechSort\welcome\index.php on line 20”. i wonder if it has anything to do with indentation.
kindly assist
the code is as follows
Hi @kasule, welcome to the forums. We would need to see your code to be able to comment it. Can you post it here? You can copy it into your post but you need to precede the code by 3 backticks ``` on a separate line and 3 backticks on a separate line after…
You should wrap code in three backticks (as previously suggested) so it displays properly (on many keyboards it is the key immediately below the Esc key). Alternatively select the code and press the </> button.