Reducto Posted July 6, 2014 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 231 Reputation: 9 Joined: 12/16/11 Last Seen: August 10, 2016 Share Posted July 6, 2014 Can anybody help me convert this to fluxcp. mysql_connect('127.0.01', 'ragnarok', 'ragnarok'); mysql_select_db('ragnarok'); $res = mysql_query('SELECT `value` FROM `mapreg` WHERE `index` = 0 AND `varname` = \'$poringwinner$\' LIMIT 1'); $res = mysql_fetch_row($res); thank you! Link to comment Share on other sites More sharing options...
Emistry Posted July 6, 2014 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 12 hours ago Share Posted July 6, 2014 by default, you dont really need to re-create the connection to sql. in your module folder, just write the statement for sql to retrieve the data. then in your theme folder, write the html/php code to display the data. Link to comment Share on other sites More sharing options...
Question
Reducto
Can anybody help me convert this to fluxcp.
thank you!
Link to comment
Share on other sites
1 answer to this question
Recommended Posts