Re: First record not diplaying

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

 



>
> <?php
> // Good to go
>
> if (0 == $totalRows_rsSearch) {
> echo "<h3>Sorry no products were found</h3>";
> } else {
> echo "<h3>Please click on a product for further information.</h3>";
> while ($row_rsSearch = mysql_fetch_assoc($rsSearch)){
> echo "<div class=\"productitem\"><img src=\"products".
> $row_rsSearch['product_image']."\">
>      <div class=\"text\">
>        <h3>". $row_rsSearch['product_name']."</h3>
>          <p class=\"style1\">". $row_rsSearch['product_subtitle'] ."
> </p>
>          <a href=\"products". $row_rsSearch['product_url']."\">View
> Product</a>
>        <div class=\"clear\"></div>
>        </div> <div class=\"clear\"></div>
>     <center>
>        </center>
>      </div>";
> }
>
> }
> ?>


What is your value for $row_rsSearch  ??

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux