Jump to content

ayok

Members
  • Posts

    340
  • Joined

  • Last visited

    Never

Posts posted by ayok

  1. Hi,

     

    With php to find a current day is with date("l") or date("w"), but how to find a day of a date? For example i want to know the day of September 23 2008.

     

    Thank you,

    ayok

  2. Hi,

     

    I have a questions about uploading files. I saw some free upload images website that we can upload many files at oncel, like myspace.com or photobucket.com, by draging it or with control+click.

     

    My question is what program do they use? java? flash? Is there any free source or tutorial about it?

     

    Thank you,

    ayok

  3. Ok.. now it's working.

     

    The font doesn't match with the green. Especially that red text. and the gradient green doesn't look cool.

     

    The green dragon is cool, but should the rest of the site also green? Perhaps green is also cool.. but you can try other type of green.

     

    Use this website as your reference for colors. Just take a pallet of some color combination.

  4. Hi,

     

    Here is my try, and it's closed with what i've been expecting. Would someone help me with it?

     

    <?php
    
    $category = mysql_query("select * from catPort order by catID") or die(mysql_error());
    
    while($cat = mysql_fetch_array($category)){
    $gallery = mysql_query("select portfolio.*,catPort.* from portfolio,catPort where portfolio.category = '$cat[catId]'") or die(mysql_error());
    echo $cat["catName"]."<br>";
    while($gal = mysql_fetch_array($gallery)){
    	echo $gal['image']."<br>";
    }
    }?>

     

    This is what I've got:

    Website

    img1.jpg

    img1.jpg

    img1.jpg

    img2.jpg

    img2.jpg

    img2.jpg

     

    Print

    img3.jpg

    img3.jpg

    img3.jpg

    img4.jpg

    img4.jpg

    img4.jpg

     

    Illustration

    img5.jpg

    img5.jpg

    img5.jpg

    img6.jpg

    img6.jpg

    img6.jpg

     

    I guess because I make my sql query in the while loop statement. But i don't know how to make those appear only once.

    Could anybody help me out?

     

    ayok

  5. I've tried this:

    <?php
    $gallery = mysql_query("select portfolio.*,catPort.* from portfolio,catPort where portfolio.category = catPort.catId group by category");
    
    while($gal = mysql_fetch_array($gallery)){
    echo $gal["catName"]."<br>";
    echo $gal['image']."<br>";
    }?>
    

     

    But only get this result:

    Website

    img1.jpg

     

    Print

    img3.jpg

     

    Illustration

    img5.jpg

     

  6. Hi,

     

    I have "portfolio" table, and "catPort" table with these fields:

     

    portfolio:

    id | category | image

    ------------------------

    1  | 1          | img1.jpg

    2  | 1          | img2.jpg

    3  | 2          | img3.jpg

    4  | 2          | img4.jpg

    5  | 3          | img5.jpg

    6  | 3          | img6.jpg

     

    catPort:

    catId | catName

    ----------------

    1      | Website

    2      | Print

    3      | Illustration

     

    The question is, what should be the mysql query to get this table?

     

    Website

    img1.jpg

    img2.jpg

     

    Print

    img3.jpg

    img4.jpg

     

    Illustration

    img5.jpg

    img6.jpg

     

    Thank you,

     

    ayok

  7. Haven't seen any sites Guilty gear has posted but I haven't seen even one nice comment from him yet.... So don't get bummed out by his overzealous "critique".

     

     

    Well.. we need him in this website critique forum..

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