Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13
  1. #11
    Join Date
    Feb 2007
    Posts
    1,704
    Plugin Contributions
    0

    Default Re: zencart mysql and php help needed

    yep defo the php killing it, dropping the php into the tmp_index_default file kills it

  2. #12
    Join Date
    Feb 2007
    Posts
    1,704
    Plugin Contributions
    0

    Default Re: zencart mysql and php help needed

    dropping the php into the tmp_index_defalut file also kills it so i think the php has an error somewhere.

    i read the readme file about on Js and tried as instructed and the the site never loaded all, and couldn't figger out how i would display the JS output were i wanted it on the page.

  3. #13
    Join Date
    Feb 2007
    Posts
    1,704
    Plugin Contributions
    0

    Default Re: zencart mysql and php help needed

    here is where i got to with the php.

    Code:
    <?php
      $content = "";
      $featured_box_counter = 1;
      while (!$random_featured_product->EOF);
      $featured_box_counter++; {
        $content .= 'leftrightslide[$featured_box_counter]=';
        $content .= '<a href="' . zen_href_link(zen_get_info_page($random_featured_product->fields["products_id"]), 'cPath=' . zen_get_generated_category_path_rev($random_featured_product->fields["master_categories_id"]) . '&products_id=' . $random_featured_product->fields["products_id"]) . '">' . zen_image(DIR_WS_IMAGES . $random_featured_product->fields['products_image'], $random_featured_product->fields['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT); 
        $content .= '</a>'';
        $random_featured_product->MoveNextRandom();
      }
    ?>

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. zencart and SSL certificate help needed
    By DarkAngel in forum General Questions
    Replies: 4
    Last Post: 1 Dec 2009, 03:16 AM
  2. PHP, Apache, MySQL all needed for paypal?
    By jamesdavid in forum Basic Configuration
    Replies: 6
    Last Post: 23 Apr 2008, 01:35 PM
  3. Help needed with epdq and zencart checkout
    By dna in forum General Questions
    Replies: 0
    Last Post: 14 Sep 2006, 11:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg