mirror of
https://github.com/Floriansylvain/projet_programmation_web.git
synced 2026-08-19 11:43:16 +02:00
🎨 General visuals improvements
This commit is contained in:
@@ -24,7 +24,7 @@ class dump {
|
||||
|
||||
$author = '%' . $author . '%';
|
||||
|
||||
$stmt = $pdo->prepare("SELECT * FROM theses WHERE author LIKE :author;");
|
||||
$stmt = $pdo->prepare("SELECT * FROM theses WHERE author LIKE :author ORDER BY author;");
|
||||
$stmt->bindParam(':author', $author, PDO::PARAM_STR, 100);
|
||||
$stmt->execute();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user