The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> wrong logic?
tudsy
post Oct 21 2014, 10:33 AM
Post #1


Advanced Member
****

Group: Members
Posts: 246
Joined: 30-September 14
Member No.: 21,611



Hi

I am having trouble with if elseif statements. If I select both options (Unsubscribe and Back to Ecovib2d), I get the same result.

Can you please help me?Attached File  Unsubscribe.html ( 1.6k ) Number of downloads: 310
Attached File  Sorrytoseeyougo.html ( 1.21k ) Number of downloads: 306
Attached File  GO_AWAY.html ( 2.54k ) Number of downloads: 326
Attached Image
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Oct 21 2014, 10:43 AM
Post #2


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
Joined: 9-August 06
Member No.: 6



Unless I miss something there is no logic at all. There are no if...else statements. In fact there is no script. All that can possibly happen when the form is submitted is a redirection to the URL in the action attribute.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Oct 21 2014, 10:48 AM
Post #3


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
Joined: 9-August 06
Member No.: 6



Or did you mean the PHP in GO_AWAY.html? It doesn't seem to concern itself with what radio button is ticked.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 28th March 2024 - 09:13 AM