Created
December 23, 2017 21:19
-
-
Save Jul10l1r4/e48fd2eb469e7e5485593714c412e20a to your computer and use it in GitHub Desktop.
Pesquisa com pdo created by Jul10l1r4 - https://repl.it/@Jul10l1r4/Pesquisa-com-pdo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$query = $connDB->prepare('SELECT * FROM topic WHERE topic_name LIKE :keywords'); | |
$query->bindValue(':keywords', '%' . $searchQ . '%'); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Pesquisa com pdo