Jump to content
MakeWebGames

Wazam

Members
  • Posts

    53
  • Joined

  • Last visited

    Never

Everything posted by Wazam

  1. Wow. Excellent work Sniko. I looked through a few mods then, but your kind of coding, on how you use is really good. Keep it up bud. And I think this is a nice little addition to members who are curious on how views they get on the profile. :p
  2. Wazam

    Help!!

    Sorry, I don't know much of MYSQL, so I cannot help you, sorry. But this is kind of p]weird. :/   "; $q=mysql_query("SELECT * FROM ads ORDER BY rand() LIMIT 1",$c); if(mysql_num_rows($q)) { } print "<table width=100%><tr><td width=20% valign='top'> ";   Maybe try? o_0   // Put what ever come before this is. $Query = mysql_query("SELECT * FROM `ads` ORDER BY rand() LIMIT 1" , $c) or die('Mysql error!'); // Try to select WHAT'S needed if (mysql_num_rows($Query) ) { // Opening print "<table width = '100%'> <tr> <th>????</th> </tr> <tr> <td width = '20%' valign='top'>WHAT EVER HERE</th> // IOutput here. </tr> </table>"; } // Closing   I think the table should be included there(fully). If some things are there(in the table) that arn't needed. Just remove.
  3. I think you would have to use some if statements in the voting file, and maybe work something out with the voting site? I think that is a clear Idea what has to be done. Not so sure about the if statement, but you would need to do something with the voting site.
×
×
  • Create New...