You can't do it that way.. You'll probably get parse error..
-- 
// DvDmanDT
MSN: dvdmandt€hotmail.com
Mail: dvdmandt€telia.com
<[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
>
> 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

Reply via email to