Kariton Revolution Posted August 1, 2014 Posted August 1, 2014 set .@count, query_sql ("SELECT char_id,value FROM `global_reg_value` WHERE str='reborncount' ORDER BY value DESC",.@charid,.@reborncount); Quote
Doch Posted August 1, 2014 Posted August 1, 2014 sql -> SELECT char_id,value FROM `global_reg_value` WHERE str='reborncount' ORDER BY value DESC Quote
Kariton Revolution Posted August 1, 2014 Author Posted August 1, 2014 sql -> SELECT char_id,value FROM `global_reg_value` WHERE str='reborncount' ORDER BY value DESC how i can add that on my sql and php? can you give me a code of it thankyou! Quote
Doch Posted August 1, 2014 Posted August 1, 2014 idk what are you trying to do, but that the sentence SQL Quote
Kariton Revolution Posted August 3, 2014 Author Posted August 3, 2014 (edited) idk what are you trying to do, but that the sentence SQL how can i make that on my sql Edited August 3, 2014 by Kariton Revolution Quote
Emistry Posted August 3, 2014 Posted August 3, 2014 $sql = "SELECT char_id,value FROM `global_reg_value` WHERE str='reborncount' ORDER BY value DESC"; $sth = $server->connection->getStatement($sql); $sth->execute($bind); $result = $sth->fetchAll(); something like this. Quote
Kariton Revolution Posted August 3, 2014 Author Posted August 3, 2014 $sql = "SELECT char_id,value FROM `global_reg_value` WHERE str='reborncount' ORDER BY value DESC"; $sth = $server->connection->getStatement($sql); $sth->execute($bind); $result = $sth->fetchAll(); something like this. sir emistry can you explain it to me how i can make that on mysql hahah sorry i can't understand it what table should i do Quote
Emistry Posted August 3, 2014 Posted August 3, 2014 now you're confusing me. what you want actually. a php to execute sql a sql that retrieve data from mysql a mysql table to store information etc Quote
Question
Kariton Revolution
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.