I’ve got method:
-(NSMutableArray*)getTheCountriesEurope:(int)continentID
{
NSMutableArray* euCountriesArray=[[[NSMutableArray alloc]init]autorelease];
const char* sqlContinents="SELECT countries.countryID,countries.countryName\
FROM countries\
WHERE countries.relativeToContinentID=?";
How can I assign to sql command my (int)continentID property? I mean to statement
WHERE countries.relativeToContinentID=?";
Thank you in advance.
try this: