Search results

  1. K

    Querying to mySQL from php?

    I have the following code to query mySQL table working. $query_LOOT = sprintf("SELECT * FROM `wotlk-normal-loot` WHERE `Type` $Type AND `Spec` $Spec ORDER BY `Spec` ASC", GetSQLValueString($colname_LOOT, "text")); However, I would like to have it so $Spec can be either either be a direct...
  2. K

    Querying to mySQL from php?

    I have the following code to query mySQL table working. $query_LOOT = sprintf("SELECT * FROM `wotlk-normal-loot` WHERE `Type` $Type AND `Spec` $Spec ORDER BY `Spec` ASC", GetSQLValueString($colname_LOOT, "text")); However, I would like to have it so $Spec can be either either be a direct...
Back
Top