mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-20 19:59:15 +12:00
annoying cases
This commit is contained in:
parent
97553456ce
commit
4e4001cf00
2 changed files with 27 additions and 9 deletions
|
@ -210,7 +210,7 @@ function get_fourm_threads($fourm)
|
|||
{
|
||||
include('config.php');
|
||||
$connect = mysqli_connect($dbhost, $dbuser, $dbpass,$dbname) or die("Unable to connect to '$dbhost'");
|
||||
$stmt = $connect->prepare("SELECT * FROM FourmThread WHERE Fourm=?");
|
||||
$stmt = $connect->prepare("SELECT * FROM FourmThread WHERE Fourm=? ORDER BY CreationTime DESC");
|
||||
$stmt->bind_param("s", $fourm);
|
||||
$stmt->execute();
|
||||
$result = $stmt->get_result();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue