kpetursson
Programmer
is there a way to retrieve a single peice of data from a record in a MySQL table if you know the column title but do not know its position in the table?
example
I want the phone number from col home_phone in table members but I did not create the table, and the table structure is not yet set in stone. so home_phone could end up being the 3 of 10 column in the table.
I know I could simply wait until the table structure is set, but this will slow development. for testing pruposes I have created the above mentioned table with the few columns I need at this stage in the PHP development, but the final structure of the table will likely look different then my little temporary test table.
Any help or suggestions is greatly appriciated.
Kevin Petursson
--
"Everyone says quotable things everyday, but their not famous... so nobody cares."... Some Person
example
I want the phone number from col home_phone in table members but I did not create the table, and the table structure is not yet set in stone. so home_phone could end up being the 3 of 10 column in the table.
I know I could simply wait until the table structure is set, but this will slow development. for testing pruposes I have created the above mentioned table with the few columns I need at this stage in the PHP development, but the final structure of the table will likely look different then my little temporary test table.
Any help or suggestions is greatly appriciated.
Kevin Petursson
--
"Everyone says quotable things everyday, but their not famous... so nobody cares."... Some Person