O'Reilly Forums: Else If Statement Chapter 5 Removescore.php - O'Reilly Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Else If Statement Chapter 5 Removescore.php

#1 User is offline   cjncrsr 

  • New Member
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 03-May 14

Posted 03 May 2014 - 08:45 PM

In Chapter 5 in the removescore.php file there is an else if statement at approximately line 56. Can someone please tell me what " if " statement this belongs to and why are we using an else if statement.

It seems logical to me that once the data is sent via the GET method from the admin.php file then we need an echo statement to show the "Are you sure you want to delete the following high score" and not the else if. How do I know that I need an else if here?

Thanks for any feedback.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users