What's wrong with this PHP Twitter API POST?

Whats wrong with this? (PHP Form)?

  • Whats wrong with this? if(!isset($_POST['submit'])){ echo ' <font family="verdana" align="center" size="3"> <b> DriftClub Status Signatures Testing Login </b> Current Version: <i>'. $currentversion .'</i> <form method="post" action="index.php" enctype="text/plain"> Alpha Key: <input type="text" name="key"> <input type="submit" value="Login" name="submit"> </form> </font> '; } else { $key = '154952052925'; $a_key = clean($_POST['key']); if($key == $a_key){ }

  • Answer:

    you forgot to close the else clause (just add another } at the end)

lulz at Yahoo! Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.