{"vote":{"id":89837,"value":1,"comment":{"id":148,"comment":"Problem fixed thanks everyone","author":{"id":1745,"username":"JCob","username_canonical":"jcob","email":"manrobbo@ymail.com","email_canonical":"manrobbo@ymail.com","enabled":true,"salt":"8eylxkutwfc4ow8k88ock0s4soocok4","password":"TMuOQZaQapNxsImjrsOCW8TLeNffzMyY1j7HFghFl9mBz2QKA45Ch8fUVDcxpVt5aCsDM8Dte9l2ohfOWuuqBw==","locked":false,"expired":false,"roles":[],"credentials_expired":false,"fullname":"Jacob Robinson"},"entry":{"id":139,"title":"Entry Form php html ERROR","description":"Login system should display information when entered correct and \"invalid\" if enter incorrectly. I'm not sure what I have done wrong tried copying the code from a YouTube. I think its to do with the PHP part but not 100% sure.","date_submited":"2018-01-04T16:41:38-0500","type":"improvecode","pending":true,"author":{"id":1745,"username":"JCob","username_canonical":"jcob","email":"manrobbo@ymail.com","email_canonical":"manrobbo@ymail.com","enabled":true,"salt":"8eylxkutwfc4ow8k88ock0s4soocok4","password":"TMuOQZaQapNxsImjrsOCW8TLeNffzMyY1j7HFghFl9mBz2QKA45Ch8fUVDcxpVt5aCsDM8Dte9l2ohfOWuuqBw==","locked":false,"expired":false,"roles":[],"credentials_expired":false,"fullname":"Jacob Robinson"},"snippets":[{"id":191,"name":"Login.php","language":"php","code":"\r\n\r\nLogin Page<\/title>\r\n<body>\r\n \t<form action=\"login.php\" method=\"post\">\r\n\t\t Enter your User ID \/ Name\r\n\t\t <input type=\"text\" name=\"username\">\r\n\t\t <br>\r\n\t\t Enter your Password\r\n\t\t <input type=\"password\" name=\"pass\">\r\n\t\t \r\n\t\t <br>\r\n\t\t <input type=\"submit\" value=\"Login\" name=\"submit\">\r\n\t<\/form>\t\r\n<\/body>\r\n<\/html>\r\n<?php \r\n\t\tif(isset($_POST['submit']))\r\n\t\t{\r\n\t\t\t\t$user = $_POST['username'];\r\n\t\t\t\t$pass = $_POST['pass'];\r\n\t\t\t\tif(($user==\"hari\")&&($pass=\"cse\"))\r\n\t\t\t\t{\r\n\t\t\t\t\techo \"Welcome Hari\";\r\n\t\t\t\t}\r\n\t\t\t\telse\r\n\t\t\t\t{\r\n\t\t\t\t\techo \"Invalid username\/password\";\r\n\t\t\t\t}\r\n\t\t}\r\n?>","author":{"id":1745,"username":"JCob","username_canonical":"jcob","email":"manrobbo@ymail.com","email_canonical":"manrobbo@ymail.com","enabled":true,"salt":"8eylxkutwfc4ow8k88ock0s4soocok4","password":"TMuOQZaQapNxsImjrsOCW8TLeNffzMyY1j7HFghFl9mBz2QKA45Ch8fUVDcxpVt5aCsDM8Dte9l2ohfOWuuqBw==","locked":false,"expired":false,"roles":[],"credentials_expired":false,"fullname":"Jacob Robinson"}}],"comments":{"0":{"id":131,"comment":"Problem fixed thanks everyone","author":{"id":1745,"username":"JCob","username_canonical":"jcob","email":"manrobbo@ymail.com","email_canonical":"manrobbo@ymail.com","enabled":true,"salt":"8eylxkutwfc4ow8k88ock0s4soocok4","password":"TMuOQZaQapNxsImjrsOCW8TLeNffzMyY1j7HFghFl9mBz2QKA45Ch8fUVDcxpVt5aCsDM8Dte9l2ohfOWuuqBw==","locked":false,"expired":false,"roles":[],"credentials_expired":false,"fullname":"Jacob Robinson"},"votes":[{"id":89442,"value":1},{"id":89510,"value":-1},{"id":89658,"value":-1},{"id":89677,"value":1}]},"1":{"id":132,"comment":"Problem fixed thanks everyone","author":{"id":1745,"username":"JCob","username_canonical":"jcob","email":"manrobbo@ymail.com","email_canonical":"manrobbo@ymail.com","enabled":true,"salt":"8eylxkutwfc4ow8k88ock0s4soocok4","password":"TMuOQZaQapNxsImjrsOCW8TLeNffzMyY1j7HFghFl9mBz2QKA45Ch8fUVDcxpVt5aCsDM8Dte9l2ohfOWuuqBw==","locked":false,"expired":false,"roles":[],"credentials_expired":false,"fullname":"Jacob Robinson"},"votes":[{"id":89443,"value":1},{"id":89502,"value":-1},{"id":89659,"value":-1},{"id":89678,"value":1},{"id":89834,"value":-1}]},"2":{"id":133,"comment":"Problem fixed thanks everyone","author":{"id":1745,"username":"JCob","username_canonical":"jcob","email":"manrobbo@ymail.com","email_canonical":"manrobbo@ymail.com","enabled":true,"salt":"8eylxkutwfc4ow8k88ock0s4soocok4","password":"TMuOQZaQapNxsImjrsOCW8TLeNffzMyY1j7HFghFl9mBz2QKA45Ch8fUVDcxpVt5aCsDM8Dte9l2ohfOWuuqBw==","locked":false,"expired":false,"roles":[],"credentials_expired":false,"fullname":"Jacob Robinson"},"votes":[{"id":89434,"value":1},{"id":89501,"value":-1},{"id":89660,"value":-1},{"id":89679,"value":1}]},"3":{"id":134,"comment":"Problem fixed thanks everyone","author":{"id":1745,"username":"JCob","username_canonical":"jcob","email":"manrobbo@ymail.com","email_canonical":"manrobbo@ymail.com","enabled":true,"salt":"8eylxkutwfc4ow8k88ock0s4soocok4","password":"TMuOQZaQapNxsImjrsOCW8TLeNffzMyY1j7HFghFl9mBz2QKA45Ch8fUVDcxpVt5aCsDM8Dte9l2ohfOWuuqBw==","locked":false,"expired":false,"roles":[],"credentials_expired":false,"fullname":"Jacob Robinson"},"votes":[{"id":89422,"value":1},{"id":89512,"value":-1},{"id":89661,"value":-1},{"id":89680,"value":1}]},"4":{"id":135,"comment":"Problem fixed thanks everyone","author":{"id":1745,"username":"JCob","username_canonical":"jcob","email":"manrobbo@ymail.com","email_canonical":"manrobbo@ymail.com","enabled":true,"salt":"8eylxkutwfc4ow8k88ock0s4soocok4","password":"TMuOQZaQapNxsImjrsOCW8TLeNffzMyY1j7HFghFl9mBz2QKA45Ch8fUVDcxpVt5aCsDM8Dte9l2ohfOWuuqBw==","locked":false,"expired":false,"roles":[],"credentials_expired":false,"fullname":"Jacob Robinson"},"votes":[{"id":89436,"value":1},{"id":89511,"value":-1},{"id":89662,"value":-1},{"id":89681,"value":1}]},"5":{"id":136,"comment":"Problem fixed thanks everyone","author":{"id":1745,"username":"JCob","username_canonical":"jcob","email":"manrobbo@ymail.com","email_canonical":"manrobbo@ymail.com","enabled":true,"salt":"8eylxkutwfc4ow8k88ock0s4soocok4","password":"TMuOQZaQapNxsImjrsOCW8TLeNffzMyY1j7HFghFl9mBz2QKA45Ch8fUVDcxpVt5aCsDM8Dte9l2ohfOWuuqBw==","locked":false,"expired":false,"roles":[],"credentials_expired":false,"fullname":"Jacob Robinson"},"votes":[{"id":89435,"value":1},{"id":89509,"value":-1},{"id":89663,"value":-1},{"id":89682,"value":1},{"id":89833,"value":1}]},"6":{"id":137,"comment":"Problem fixed thanks everyone","author":{"id":1745,"username":"JCob","username_canonical":"jcob","email":"manrobbo@ymail.com","email_canonical":"manrobbo@ymail.com","enabled":true,"salt":"8eylxkutwfc4ow8k88ock0s4soocok4","password":"TMuOQZaQapNxsImjrsOCW8TLeNffzMyY1j7HFghFl9mBz2QKA45Ch8fUVDcxpVt5aCsDM8Dte9l2ohfOWuuqBw==","locked":false,"expired":false,"roles":[],"credentials_expired":false,"fullname":"Jacob Robinson"},"votes":[{"id":89447,"value":1},{"id":89503,"value":-1},{"id":89664,"value":-1},{"id":89683,"value":1}]},"7":{"id":138,"comment":"Problem fixed thanks everyone","author":{"id":1745,"username":"JCob","username_canonical":"jcob","email":"manrobbo@ymail.com","email_canonical":"manrobbo@ymail.com","enabled":true,"salt":"8eylxkutwfc4ow8k88ock0s4soocok4","password":"TMuOQZaQapNxsImjrsOCW8TLeNffzMyY1j7HFghFl9mBz2QKA45Ch8fUVDcxpVt5aCsDM8Dte9l2ohfOWuuqBw==","locked":false,"expired":false,"roles":[],"credentials_expired":false,"fullname":"Jacob Robinson"},"votes":[{"id":89433,"value":1},{"id":89507,"value":-1},{"id":89665,"value":-1},{"id":89684,"value":1},{"id":89836,"value":-1}]},"8":{"id":139,"comment":"Problem fixed thanks everyone","author":{"id":1745,"username":"JCob","username_canonical":"jcob","email":"manrobbo@ymail.com","email_canonical":"manrobbo@ymail.com","enabled":true,"salt":"8eylxkutwfc4ow8k88ock0s4soocok4","password":"TMuOQZaQapNxsImjrsOCW8TLeNffzMyY1j7HFghFl9mBz2QKA45Ch8fUVDcxpVt5aCsDM8Dte9l2ohfOWuuqBw==","locked":false,"expired":false,"roles":[],"credentials_expired":false,"fullname":"Jacob Robinson"},"votes":[{"id":89392,"value":1},{"id":89519,"value":-1},{"id":89666,"value":-1},{"id":89685,"value":1}]},"9":{"id":140,"comment":"Problem fixed thanks everyone","author":{"id":1745,"username":"JCob","username_canonical":"jcob","email":"manrobbo@ymail.com","email_canonical":"manrobbo@ymail.com","enabled":true,"salt":"8eylxkutwfc4ow8k88ock0s4soocok4","password":"TMuOQZaQapNxsImjrsOCW8TLeNffzMyY1j7HFghFl9mBz2QKA45Ch8fUVDcxpVt5aCsDM8Dte9l2ohfOWuuqBw==","locked":false,"expired":false,"roles":[],"credentials_expired":false,"fullname":"Jacob Robinson"},"votes":[{"id":89428,"value":1},{"id":89520,"value":-1},{"id":89667,"value":-1},{"id":89686,"value":1},{"id":89831,"value":1},{"id":89832,"value":-1}]},"10":{"id":141,"comment":"Problem fixed thanks everyone","author":{"id":1745,"username":"JCob","username_canonical":"jcob","email":"manrobbo@ymail.com","email_canonical":"manrobbo@ymail.com","enabled":true,"salt":"8eylxkutwfc4ow8k88ock0s4soocok4","password":"TMuOQZaQapNxsImjrsOCW8TLeNffzMyY1j7HFghFl9mBz2QKA45Ch8fUVDcxpVt5aCsDM8Dte9l2ohfOWuuqBw==","locked":false,"expired":false,"roles":[],"credentials_expired":false,"fullname":"Jacob Robinson"},"votes":[{"id":89448,"value":1},{"id":89515,"value":-1},{"id":89668,"value":-1},{"id":89687,"value":1}]},"11":{"id":142,"comment":"Problem fixed thanks everyone","author":{"id":1745,"username":"JCob","username_canonical":"jcob","email":"manrobbo@ymail.com","email_canonical":"manrobbo@ymail.com","enabled":true,"salt":"8eylxkutwfc4ow8k88ock0s4soocok4","password":"TMuOQZaQapNxsImjrsOCW8TLeNffzMyY1j7HFghFl9mBz2QKA45Ch8fUVDcxpVt5aCsDM8Dte9l2ohfOWuuqBw==","locked":false,"expired":false,"roles":[],"credentials_expired":false,"fullname":"Jacob Robinson"},"votes":[{"id":89430,"value":1},{"id":89506,"value":-1},{"id":89669,"value":-1},{"id":89688,"value":1}]},"12":{"id":143,"comment":"Problem fixed thanks everyone","author":{"id":1745,"username":"JCob","username_canonical":"jcob","email":"manrobbo@ymail.com","email_canonical":"manrobbo@ymail.com","enabled":true,"salt":"8eylxkutwfc4ow8k88ock0s4soocok4","password":"TMuOQZaQapNxsImjrsOCW8TLeNffzMyY1j7HFghFl9mBz2QKA45Ch8fUVDcxpVt5aCsDM8Dte9l2ohfOWuuqBw==","locked":false,"expired":false,"roles":[],"credentials_expired":false,"fullname":"Jacob Robinson"},"votes":[{"id":89437,"value":1},{"id":89508,"value":-1},{"id":89670,"value":-1},{"id":89689,"value":1}]},"13":{"id":144,"comment":"Problem fixed thanks everyone","author":{"id":1745,"username":"JCob","username_canonical":"jcob","email":"manrobbo@ymail.com","email_canonical":"manrobbo@ymail.com","enabled":true,"salt":"8eylxkutwfc4ow8k88ock0s4soocok4","password":"TMuOQZaQapNxsImjrsOCW8TLeNffzMyY1j7HFghFl9mBz2QKA45Ch8fUVDcxpVt5aCsDM8Dte9l2ohfOWuuqBw==","locked":false,"expired":false,"roles":[],"credentials_expired":false,"fullname":"Jacob Robinson"},"votes":[{"id":89440,"value":1},{"id":89500,"value":-1},{"id":89671,"value":-1},{"id":89690,"value":1}]},"14":{"id":145,"comment":"Problem fixed thanks everyone","author":{"id":1745,"username":"JCob","username_canonical":"jcob","email":"manrobbo@ymail.com","email_canonical":"manrobbo@ymail.com","enabled":true,"salt":"8eylxkutwfc4ow8k88ock0s4soocok4","password":"TMuOQZaQapNxsImjrsOCW8TLeNffzMyY1j7HFghFl9mBz2QKA45Ch8fUVDcxpVt5aCsDM8Dte9l2ohfOWuuqBw==","locked":false,"expired":false,"roles":[],"credentials_expired":false,"fullname":"Jacob Robinson"},"votes":[{"id":89423,"value":1},{"id":89505,"value":-1},{"id":89672,"value":-1},{"id":89691,"value":1},{"id":89835,"value":1}]},"15":{"id":146,"comment":"Problem fixed thanks everyone","author":{"id":1745,"username":"JCob","username_canonical":"jcob","email":"manrobbo@ymail.com","email_canonical":"manrobbo@ymail.com","enabled":true,"salt":"8eylxkutwfc4ow8k88ock0s4soocok4","password":"TMuOQZaQapNxsImjrsOCW8TLeNffzMyY1j7HFghFl9mBz2QKA45Ch8fUVDcxpVt5aCsDM8Dte9l2ohfOWuuqBw==","locked":false,"expired":false,"roles":[],"credentials_expired":false,"fullname":"Jacob Robinson"},"votes":[{"id":89425,"value":1},{"id":89516,"value":-1},{"id":89673,"value":-1},{"id":89692,"value":1}]},"16":{"id":147,"comment":"Problem fixed thanks everyone","author":{"id":1745,"username":"JCob","username_canonical":"jcob","email":"manrobbo@ymail.com","email_canonical":"manrobbo@ymail.com","enabled":true,"salt":"8eylxkutwfc4ow8k88ock0s4soocok4","password":"TMuOQZaQapNxsImjrsOCW8TLeNffzMyY1j7HFghFl9mBz2QKA45Ch8fUVDcxpVt5aCsDM8Dte9l2ohfOWuuqBw==","locked":false,"expired":false,"roles":[],"credentials_expired":false,"fullname":"Jacob Robinson"},"votes":[{"id":89438,"value":1},{"id":89518,"value":-1},{"id":89674,"value":-1},{"id":89693,"value":1}]},"18":{"id":149,"comment":"Problem fixed thanks everyone","author":{"id":1745,"username":"JCob","username_canonical":"jcob","email":"manrobbo@ymail.com","email_canonical":"manrobbo@ymail.com","enabled":true,"salt":"8eylxkutwfc4ow8k88ock0s4soocok4","password":"TMuOQZaQapNxsImjrsOCW8TLeNffzMyY1j7HFghFl9mBz2QKA45Ch8fUVDcxpVt5aCsDM8Dte9l2ohfOWuuqBw==","locked":false,"expired":false,"roles":[],"credentials_expired":false,"fullname":"Jacob Robinson"},"votes":[{"id":89449,"value":1},{"id":89498,"value":-1},{"id":89676,"value":-1},{"id":89695,"value":1}]}}},"votes":[{"id":89395,"value":1},{"id":89504,"value":-1},{"id":89675,"value":-1},{"id":89694,"value":1}]}},"totals":{"up":5,"down":0,"total":1}}