Re: Multi Array

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



<ul>
<?php
$result =mysql_query("selct * from table")
while($row = mysql_fect_array($result )) {
echo '<li>
<a href="$row['link']" title="$row['title']" target="_blank" >
<img src=$row['src']"" alt="$row['alt']" title="$row['title']" /></a>

        </li>';
}
?>
</ul>
With  Regards
  Binoy.M.V
  

--- On Wed, 16/12/09, Sovichea SOU <svch_sou@xxxxxxxxxxx> wrote:

From: Sovichea SOU <svch_sou@xxxxxxxxxxx>
Subject:  Multi Array
To: php-objects@xxxxxxxxxxxxxxx
Date: Wednesday, 16 December, 2009, 7:58 AM







 



  


    
      
      
      Hi,



I want to display:



<ul>

<li>

        <a href="

http://www.wishafri end.com/photo/ photoeffects/ uploadphoto. php?effect= beautifulmoon"

title="Beautiful Moon" target="_blank" ><img src="

http://www.wishafri end.com/photo/ photoeffects/ thumbs/beautiful moon.jpg"

alt="Beautiful Moon" title="Beautiful Moon" /></a>

        </li>

</ul>



How can I use array to loop from database?



Many thanks



Vichea



[Non-text portions of this message have been removed]





    
     

    
    


 



  






      The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/

[Non-text portions of this message have been removed]


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux