• I have a sitemile auction theme installed and there’s a problem with a code when seller posts a new item and is asked to put a “price” or “budget” for selling item, the code is adding up all bids from buyers instead of leaving it the original “price”. How to fix it?

    <tr>
                        <td class="main_det_td">Price:</td>
                        <td><?php 
    
    					$bds = get_all_bids2($pid);
    					if(count($bds) == 0) echo get_currency().'0';
    					else
    					{
    						$ss = 0;
    						for($j=0;$j<count($bds);$j++)
    						{
    								$ss += 	$bds[$j]['bid'];
    						}
    
    						echo get_currency().formats($ss,2);
    					}
    
    					?></td>
                        </tr>

  • The topic ‘This code is jacked up’ is closed to new replies.