Answer the question
In order to leave comments, you need to log in
How to unpack list of lists nth number of times?
The bottom line is that in the database there are fields with the value ArrayField(models.IntegerField). I am filtering the data. I take and pull this data through values_list.
I get data like:
[([123],), (None,), (None,), (None,), (None,), (None,), ([65, 66],), ([123],), [123]]
[123, 65, 66, 123, 123]
Answer the question
In order to leave comments, you need to log in
I venture to guess:
if((mysql_num_rows($query[0]) > 0 AND $postk['status']=='active')
||
($postk['win_row_col']>=$postk['win_row'] && $postk['race_col']>=$postk['race'] && $postk['loose']>=$postk['loose_row'])){
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question