Sorry, I am new and could not supply the correct search strings on search sites to answer by question.
I am trying to construct an array with key-value from a resultSet which will be used often within the page or between pages. Which looks like this: $optionBox="select used_1, rub from rub_table order by rub asc"; $rs_box=mysql_query($optionBox,$con); $arr=Array( while($row=mysql_fetch_array($rs_box)) { '$row["used_1"]' => '$row["rub"]' , }); ,---> This does not need to appear in the last loop. Is this possible?, if yes what is wrong with my code?. many thanks for your help.. (._.)--->Carlson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php