Hypersource Posted October 12, 2013 Share Posted October 12, 2013 (edited) Here is my complete code: <center> <h2>SecretSearcher</h2> </center> <?php include 'c.php'; echo "Showing results for '"; echo $_POST['keyword']; echo "':"; $sql = "SELECT * FROM searchterms WHERE title = "%$_POST['keyword']%"; $res = mysqli_query($con,$sql); while($row = mysqli_fetch_array($res)) { echo $row['title'] echo $row['description']; echo "<br>"; } ?> <center> <br> Thankyou for searching! </center> [e] I put my code in the syntzx higlighter thing here and It showed me my extra ". Thanks so much phpfreaks! Edited October 12, 2013 by Hypersource Quote Link to comment Share on other sites More sharing options...
Solution Ch0cu3r Posted October 12, 2013 Solution Share Posted October 12, 2013 (edited) [e] I put my code in the syntzx higlighter thing here and It showed me my extra ". Thanks so much phpfreaks! So this is solved? If that is the case make sure you're using an editor with syntax highlighting. Edited October 12, 2013 by Ch0cu3r 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.