php - While shows only one result -
   I have this code:    And as shown below, my table shows two records.    table "count_size"    cislonakupu = 123, S = 1    cislonakupu = 123, s = 2       Why is that so?       You have a dye in the loop   
 & lt; Php (includes "config.php"); // mysql connect and clear mysql (i) filter $ cislonakupus = $ _GET ['cislonakupu']; $ Su = mysql_query ("Select * from 'count_size` where' caslonacupu '=' $ cislonakupus'"); While ($ line = mysql_fetch_array ($ su)) {$ pid1 = $ row ['idproduktu']; $ S9 = $ line ['s']; Echo $ s9; Die (); }? & Gt;    echo  first record only print out  s  as 1, and  s  as 2   
 
    
 
  
Comments
Post a Comment