Okay, this one may be a little hard to explain, but here goes.
I've got a table, let's call it table1, where there's a field called clientid. I need to find all the rows where the clientid matches the variable $clientid and store the row numbers that match in an array called $ads[]. I'm really not sure how to do this and the way I came up with was a huge loop that really wasn't necessary. So, I wondered if anyone had one of those 5 line solutions that everyone seems to give to down the noob's lower intelligence :p
Help would be greatly appreciated. Thanks in advance.
Sorry, i've managed this one on my own.