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? Link to comment https://forums.phpfreaks.com/topic/155040-form-_post-help/ 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? Link to comment https://forums.phpfreaks.com/topic/155040-form-_post-help/#findComment-815434 Share on other sites More sharing options...
gffg4574fghsDSGDGKJYM Posted April 21, 2009 Share Posted April 21, 2009 Try that : $login = $_POST["username"].":".$_POST["password"]; Link to comment https://forums.phpfreaks.com/topic/155040-form-_post-help/#findComment-815435 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. =] Link to comment https://forums.phpfreaks.com/topic/155040-form-_post-help/#findComment-815441 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.