Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • How is mysqli related? What is the URL you load this page with? Commented Oct 16, 2017 at 16:12
  • Check your apostrophes in your $_GET. If I copy your code in my editor, they are different so value = '{$GET[' is what I get. Also since $_GET is called withing an echo statement, you can do $_GET[XID] directly. Looks like a quote issue: php.net/manual/en/language.types.string.php Commented Oct 16, 2017 at 16:14
  • Thank you i have just got into bed I will try it on the computer in thw morning.. And the URL is reunited-city.com/messages.php?action=new I don't think signup.php is posting anything to the database.. Actually come to think of it not much is really to be honest Commented Oct 16, 2017 at 16:20
  • @bjmag94 The answer below should resolve the question. I thought you were asking why the index was undefined, not how to handle it when not defined. Commented Oct 16, 2017 at 16:40