Kariton Revolution Posted August 1, 2014 Group: Members Topic Count: 161 Topics Per Day: 0.03 Content Count: 429 Reputation: 5 Joined: 11/21/11 Last Seen: January 14, 2017 Share 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 Link to comment Share on other sites More sharing options...
Doch Posted August 1, 2014 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 79 Reputation: 6 Joined: 12/10/13 Last Seen: December 21, 2022 Share Posted August 1, 2014 sql -> SELECT char_id,value FROM `global_reg_value` WHERE str='reborncount' ORDER BY value DESC Quote Link to comment Share on other sites More sharing options...
Kariton Revolution Posted August 1, 2014 Group: Members Topic Count: 161 Topics Per Day: 0.03 Content Count: 429 Reputation: 5 Joined: 11/21/11 Last Seen: January 14, 2017 Author Share 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 Link to comment Share on other sites More sharing options...
Doch Posted August 1, 2014 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 79 Reputation: 6 Joined: 12/10/13 Last Seen: December 21, 2022 Share Posted August 1, 2014 idk what are you trying to do, but that the sentence SQL Quote Link to comment Share on other sites More sharing options...
Kariton Revolution Posted August 3, 2014 Group: Members Topic Count: 161 Topics Per Day: 0.03 Content Count: 429 Reputation: 5 Joined: 11/21/11 Last Seen: January 14, 2017 Author Share 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 Link to comment Share on other sites More sharing options...
Emistry Posted August 3, 2014 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Yesterday at 04:49 PM Share 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 Link to comment Share on other sites More sharing options...
Kariton Revolution Posted August 3, 2014 Group: Members Topic Count: 161 Topics Per Day: 0.03 Content Count: 429 Reputation: 5 Joined: 11/21/11 Last Seen: January 14, 2017 Author Share 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 Link to comment Share on other sites More sharing options...
Emistry Posted August 3, 2014 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Yesterday at 04:49 PM Share 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 Link to comment Share on other sites More sharing options...
Question
Kariton Revolution
Link to comment
Share on other sites
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.