new to SQL
#4

pawn Код:
stock GetAchievementDescription(Achievement[])
{
      new query[128], result[128];
      format(query,512,"SELECT Description FROM Achievements WHERE FullName = '%s'",Achievement);
      JA_Result=db_query(JA_Database,query);
      db_get_field_assoc(JA_Result,"Description",result, 128);
      db_free_result(JA_Result);
      return result;
}
Still the same
Reply


Messages In This Thread
new to SQL - by armyoftwo - 13.01.2011, 19:14
Re: new to SQL - by pen_theGun - 13.01.2011, 20:56
Re: new to SQL - by DVDK - 13.01.2011, 21:28
Re: new to SQL - by armyoftwo - 14.01.2011, 12:25
Re: new to SQL - by Sergei - 14.01.2011, 15:18

Forum Jump:


Users browsing this thread: 1 Guest(s)