Jump to content

moria123

Members
  • Posts

    2
  • Joined

  • Last visited

    Never

About moria123

  • Birthday 05/28/1989

Contact Methods

  • MSN
    charlie@moria.co.uk
  • Website URL
    http://www.wifikarts.co.uk

Profile Information

  • Gender
    Not Telling

moria123's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Is there anyway you can get a different image for each row? Go to www.tune-pie.com/index2.php and you'll see what I mean. The charts on the left hand side have been taken from the database. Is there anyway I could make them change the "2" and "3" (I have the images for them) automatically? I'm using "Repeat Region" and only displaying the top 5 rows from the download count... Thanks, I know I didn't describe this too well.... Ok, here's it worded a bit better... I want the pictures "1", "2" etc displayed down the side of the page and then next "1" the record with the highest download count (I've got that field in the database and it works) and then next to "2" then second highest download count....
  2. I have the following code.... <html> <title>Releases</title <?php $db = mysql_connect("localhost", "XXXX", "XXXXX"); mysql_select_db("XXXXXX" ,$db); $title = "Mazza\'s Place"; $result = mysql_query("SELECT * FROM releases ORDER BY game", $db); echo "Release Dates"; echo "<table border=1>n"; echo "<tr><td><b>Game Title</b></td><td><b>Format</b></td><td><b>Developer</b></td><td><b>Release Date</b></td></tr>n"; while ($myrow = mysql_fetch_row($result)) { printf("<tr><td>%s</td><td>%s</td><td>%s</td><td>%s</td></tr>n", $myrow[1], $myrow[3], $myrow[4], $myrow[2]); } echo "</table>n"; ?> </html> When I view it (www.mazzas-place.com/nuke/modules/Releases/index2.php) it just comes out as plain text, not in a table.... But when I take the ORDER BY thing out, it works fine... (www.mazzas-place.com/nuke/modules.php?name=Releases). How do I get the first one to go into a table? Thanks
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.