Jump to content

DeanWhitehouse

Members
  • Posts

    2,527
  • Joined

  • Last visited

Posts posted by DeanWhitehouse

  1. Considering someone has already told you what you need to do you should of tried that way and came back when you get stuck instead of waiting for code, which is most likely what you will do like some of your other threads.

     

    if i wanted people to build my site i would title the thread "Please biuld my site for me", as you can see im asking for help on 'A' page

     

    No you like to do the subtle approach and wait until someone just writes it for you.

  2. do

    for($i=0;$i<count($category);$i++)
    {
    if($i == 0)
         $sql = "CREATE VIEW items_temp AS SELECT * FROM items WHERE cat_id=".$category[$i];
    else
         $sql = "INSERT INTO items_temp (column1,column2) VALUES ('value','')";
    mysql_query($sql);
    }
    

×
×
  • 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.