Jump to content

Recommended Posts

Posted

Someone please provide insight on this, before I go nutty.

 

I am using a single php page (forms.php) in which I handle 4 different forms, using a switch statement to distinguish which is to be handled. I wrote almost the same exact code for each form, but only 2 are redirecting to the confirmation page, while the other two do not do anything! Instead of redirecting to the confirmation, it shows a blank screen and the url shows forms.php .

 

I checked my code 100x over, and I can't find any differences why 2 work, and why 2 don't. I will provide the source code to anyone that is willing to take a look.

 

If anyone could help, please reply asap or IM me on AIM- PSUSarah.

 

 

Thanks in advance.

 

Sarah

Posted

Sarah, if you could post (or send it to me in a PM, whichever you prefer) the relevant code I could take a look at it and try to figure out what's wrong.

Posted

Ok thanks for your help Borfast!

I took out my require_once statements and just put the code in place of it and the code ran fine. I guess it didn't like something about referencing another page.

 

Thanks for your help.

 

Sarah

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...