Jump to content

dialgarocksful

Member
  • Posts

    373
  • Joined

  • Last visited

Posts posted by dialgarocksful

  1. Hello, I'm planning to do a 6-display setup for programming work. I currently have 5600G and a 1070, 4 of my displays are currently on the 1070 (2 1440ps, 2 1080ps). If I ever to get more displays, it's the 2 1080s that will be on the card. Also, would it be advisable to get a secondary card or the 5600G would suffice? 

  2. Hi, my system specs is currently R5 2600, Noctua NH-L12s, 2x8GB Patriot Viper Steel 3000MHz, Gigabyte B450i, Corsair SF450, all within SG13. Currently running 3.8GHz at 1.2v and was wondering if I there's a way to reach 4 (or up to 4.2) within my specs. Also, was wondering I can't do memory-provided XMP settings and I have to manually OC it according to DRAM calculator.

     

    Quick edit: Collecting first suggestions before restarting PC. List away!

  3. 3 minutes ago, Pangea2017 said:

    you still have it. The table would look like this:

    item_name store_ID price
    a 1 100
    a 2 200
    a 3 150
    b 2 1000
    c 1 500
    c 3 700

    I think I got it using least() and having a where clause that the price > 0.

     

    Next dilemma is getting the name of the column (from the original table where the price is equal to the answer of the least query ).

     

  4. 8 minutes ago, Pangea2017 said:

    why not redesign the table?

    just three rows: item_name, store, price

    just use a normal search and you don't need to save any values for stores which don't have the item.

    it's more of a price comparison tool to get the cheapest possible price (much like pcpartpicker's). i still need the original prices of items per store

  5. Hi, I have this dilemma here. I'd like to know if using min() is viable for rows. Am trying to get the lowest price that isn't a zero per item

     

    EDIT: I need to call the column_name with matching price from store1/store2/store3.

     

    a.png

  6. On 12/13/2017 at 7:45 AM, Godlygamer23 said:

    What are your temps when doing long-term stress testing? Stock cooling won't necessarily hinder performance, and in many instances, it might be perfectly fine, especially if you're only planning to do 50% load on the CPU. Alternatively, you could run your CPU at 100%, but run both Folding@home and some sort of crypto-mining application, but you do need to consider profitability with the mining applications.

    I usually reach 71-79C on a long-term stress testing under stock. I limit my former mining to 50% load so that it won't reach peak temp easily

  7. 6 minutes ago, vorticalbox said:

    are you hand coding all the data? How many are we talking?

     

    either way i would use JavaScript for this, make a array/dictionary in json then load depending on what is picked. 

    yes, I'm hand-coding all. Let's say around 10 items per category. I'm thinking of having an sql database and just call it whenever, but I'd like to hear how json works

  8. 26 minutes ago, vorticalbox said:

    So what are you going to do with the post data? If it is to change something on the website don't use php use JavaScript. 

     

    That means the data isn't being passed correctly check or action is pointing to the right file. 

    it will be echoing different values, here's my snippet:

     

    <?php
      if ($value == 1)
      {
      $cpuName = "AMD Ryzen 7 1800X";
      $cpuPrice = 27000;
      }
    
      if ($value == 2)
      {
      $cpuName = "AMD Ryzen 7 1800X";
      $cpuPrice = 27000;
      }
    
      echo "<td>$cpuName</td>";
      echo '<td id="alignRight">';
      if ($cpuPrice > 0)
      echo number_format($cpuPrice, 2);
      else
      echo number_format($cpuPrice, 0);
      echo '</td>';
    ?>	

     

  9. 54 minutes ago, vorticalbox said:
    
    $text = '';
    
    if($_POST['store'] == 1){
    	$text = "One";
    }else if( $_POST['store'] == 2){
    	$text = "two";
    }
    
    echo $text;

    You get the data from $_POST and the inputs name, in this case store. Then check.

    Here's what happened:

     

    <form action="" method="POST" id="forms">		
      <label class="radio-inline">
        <input type="radio" name="store" onclick="onClick1" value="1" checked>One
      </label>
      <label class="radio-inline">
        <input type="radio" name="store" onclick="onClick1" value="2">Two
      </label>
    </form>
    <?php
    	if ($_POST['store'] == 1)
    		$value = 1;
    	else if ($_POST['store'] == 2)
    		$value = 2;
    ?>

    if-else statements are line 36 and 38. it gave me then this

     

    Notice: Undefined index: store in <filename> on line 36

    Notice: Undefined index: store in <filename> on line 38

×