Search the Community
Showing results for tags 'php mysqli fetch array'.
Found 1 result
hi. i have an array with 8 id numbers (e.g. [4234, 3241, 2313, ....]; i have an sql table with those id numbers among others.. i want to make a query with fetch the data, i can do that with using IN (4234,3241....) but the problem is that i get the data when its oredered by numbers from small to big.. i want it oredered exactly as the array meanning the first row should be with id = 4324, second with 3241 etc... how can i do that? thanx