John Smith Posted April 21, 2009 Share Posted April 21, 2009 Hey, I get a "Parse error: syntax error, unexpected T_ECHO in /home/****/public_html/****/twitter.php5 on line 23" Line 23 is, $login = echo $_POST["username"].":".["password"]; the form is, <form action="twitter.php5" method="post"> Username: <input type="text" name="username" /> Password: <input type="password" name="password" /> <input type="submit" /> </form> Any help? Quote Link to comment Share on other sites More sharing options...
rhodesa Posted April 21, 2009 Share Posted April 21, 2009 what are the few lines before Line 23? Quote Link to comment Share on other sites More sharing options...
gffg4574fghsDSGDGKJYM Posted April 21, 2009 Share Posted April 21, 2009 Try that : $login = $_POST["username"].":".$_POST["password"]; Quote Link to comment Share on other sites More sharing options...
John Smith Posted April 21, 2009 Author Share Posted April 21, 2009 Try that : $login = $_POST["username"].":".$_POST["password"]; Wow it worked, thanks. =] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.