Reseller Domain Murah dan termurah di Indonesia? ya di ResellerCamp.
         
 

Forum PHP Indonesia

 
Advanced Search
   
 
Home Register FAQ Memberlist Usergroups  
 
 

Forum PHP Indonesia Forum Index MySQL Help queri limit
Display posts from previous:   
      All times are GMT + 7 Hours  

queri limit

Post new topic  Reply to topic

Sat Sep 04, 2010 16:51
Author Message
mauk
Anak Baru
Anak Baru


Joined: 19 Aug 2010
Posts: 2
Location: belumada

Post subject: queri limit Reply with quote

please help me,.. Cry
saya menampilkan data seperti ini
Code:
<?php sql=mysql_query("select ID, Total_Nilai from Tb_Nilai where Total_Nilai between 10 and 1 order by Total_Nilai Desc limit 4"}; ?>

permasalahannya yaitu,
asumsi:
TotalNilai[1]=7
TotalNilai[2]=8
TotalNilai[3]=9
TotalNilai[4]=5
TotalNilai[5]=4
TotalNilai[6]=3
bagaimana menyimpan data dari queri diatas (nilai 9,8,7,5) dan data(nilai 4 dan 3)ke dalam tabel baru??
_________________
belumada
 
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
      Back To Top  

Mon Sep 06, 2010 15:17
Author Message
adiputra
PHP Master
PHP Master


Joined: 22 Oct 2008
Posts: 184
Location: Bandung

Post subject: Reply with quote

maksudnya nilai 9,8,7,5 masuk ke table A dan nilai 4 dan 3 masuk ke table B

gitu bukan maksudnya,,lebih jelas lagi dunk...
_________________
Adiputra's Blog
 
View user's profile Send private message Visit poster's website
      Back To Top  
Post new topic  Reply to topic

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


      Back To Top  

Page 1 of 1
Jump to:  
Powered by phpBB © 2001, 2002 phpBB Group
Toko Kaos Couple | Avalanche style by What Is Real © 2004 | Toko Baju Butik Online | Cara Pedia | Busana Baju Muslim