Jump to content

REALLY Wierd Problem...


neex1233

Recommended Posts

I have a PHP message script, and when I try to send a message (this just started happening today, all was fine before) it takes it to the delete form. On the send form page, there is a PHP include, which is the layout, and when the layout file is included the send button takes you to the delete form, but when the layout is not on the page, it takes you to the normal send page and works perfectly! Can anyone help me with this? It has never happened to me before!

Link to comment
https://forums.phpfreaks.com/topic/189491-really-wierd-problem/
Share on other sites

Let me pull out my crystall ball  :psychic:

 

How are we expected to help you without seeing any code? You could just include a blank file and then put parts of the original file back in a part at the time until you experience the same problem so you can pinpoint the problem code, other than that I have no idea.

Thanks...

 

Here is the send page

 

<?php include("directory/lyt.php"); ?>
<form action="send.php" method="post">
  To:<br> <input type="text" name="to" size="7"/><br />
  Subject:<br> <input type="text" name="subject" maxlength="20" size="18" /><br />
  Message:<br> <textarea rows="4" cols="35" name="message" onFocus="this.value=''">Hi!</textarea><br>
  <input type="submit" value="Send!" />
</form>
<br><br>
<a href="URL"><small>« Back to Inbox</small></a>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.