Mysql: How to add data into rows without knowing the ID?
===

So I'm writing a script that can hopefully populate my database with new values. The data has a one to one correspondance by the order they're in. The data are stored inside of an array in PHP. So the first row will map to the first element that I have, second row and second data, and so on.

I'm planning on just echo'ing it and piping the sql ALTER statement from the command prompt. So my question is, how can I ALTER a row by adding/changing new data to a certain column without knowing the ID. All I have is the 1 to 1 correspondance in the order that they're in. 

Thanks, any help is much appreciated. 