Jump to content

ak7861

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Posts posted by ak7861

  1. What if i want to keep one array for all the results.. for eg.

    $subcat = array(
    "blah" => "blah.php",
    "blah" => "blah.php",
    "blah" => "blah.php",
    "blah" => "blah.php",
    "blah" => "blah.php",
    "blah" => "blah.php",
    );

    So basically the looping will be in the array string. Any idea?
  2. Hi,

    I have a similar question. I have a while loop which takes data from a mysql query. Is it possible to loop results in an array? For eg.

    $category = array(
    while ($get_cat_sections_row = mysql_fetch_array($get_cat_sections))
    {
    "$get_cat_sections_row["cat"]" => "$get_cat_sections_row["cat"].php",
    }
    );
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.