Hello,

I originally had a line that built a static array:

$instruments = array('Leader','Singer','Piano','Synth','A-Guitar','E- Guitar','Bass','Drums','Perc','Sax','Flute','Sound/ AV','Pastor','Producer');

Then I decided I wanted this dynamic and to pull it form the DB. So I thought this would bring back similar results:

$queryi = "SELECT Instrument FROM Instruments WHERE `acct_id` = '". $_SESSION['ACCT']."' ORDER BY `id_Sort`";
echo $queryi;
$resultsi = mysql_query($queryi) or die("Error performing query");
$instruments = mysql_fetch_array ($resultsi);

Does not. What am i missing here? Thanks!

Don

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to