Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Help
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 24.06.2005, 22:26   #1
mastery
Архивный участник
 
Join Date: Feb 2005
Posts: 159
Default need litle help on php

do anybody have registration system that uses some serial to register?
and can anybody help me how to implement server statisticks based on cached sql data, to decrease server load by webpage? smt like every 2 min procedure will write all statistics data to some file and page takes result from there. like in RUN UO Server statistics )
btw, im using l2cp modded a bit.

and another question: how this query from asp should be writen in php

query = "SELECT TOP 100 user_data.char_name,user_data.char_id,user_data.ac count_name,TmpD.sumamount,lev,user_data.create_dat e,user_data.use_time,login,logout FROM(SELECT char_id, SUM(item_id) AS sumamount FROM user_item WHERE item_type = 1306 GROUP BY char_id) TmpD INNER JOIN user_data ON TmpD.char_id = user_data.char_id ORDER BY account_name "

the problem seems to be in tempD.sumamount, seems like php dont like that dot.

sry for my poor engl. )
tnx for any advise
mastery is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 23:06.