Hi,
My problem it not so much getting the right data out of mysql, but rather what do with it when I get it. The results of the query:
$do_get = mysql_query("SELECT * FROM packages WHERE status='active' && based='yes'");
$num_rows = @mysql_numrows($do_get);
end up in an array. I can get each value by calling $myarrayname[0], $myarrayname[1], and so on. What I would like to do is this because I have no idea how many records will be returned:
if ($fp_ext == "yes" && $package == "ALL MY ARRAY VALUES")
instead of:
if ($fp_ext == "yes" && $package == "$myarrayname[0]" || "$myarrayname[1] etc…")
Thanks for your post, any additional ideas world be appreciated