|
#1
|
|||
|
|||
TS v1.3.9 by Xam Last 10 Torrents
hello i want make like torrentsstrike x-fusion for last torrent but i don't know what i do in my database beacause when a make this code i have one errer help me
Code:
<?begin_frame("Last 10 Torrents",true,5);?> <? //Start of Last X torrents with poster and marquee mod $query="SELECT id, name, poster FROM torrents WHERE poster <> '' ORDER BY added DESC LIMIT 10"; $result=mysql_query($query);$num = mysql_num_rows($result); print("<marquee scrollAmount=3 onMouseover=this.scrollAmount=0 onMouseout=this.scrollAmount=3 scrolldelay=0 direction=left>"); while ($row = mysql_fetch_assoc($result)) { $id = $row['id']; $name = $row['name']; $poster = $row['poster']; $name = str_replace('_', ' ' , $name); $name = str_replace('.', ' ' , $name); $name = substr($name, 0, 50); print("<img src=$poster width=100 height=142 title=$name border=0>"); } print("</marquee></tr>"); //End of Last X torrents with poster and marquee mod ?> |
#2
|
||||
|
||||
Re: TS v1.3.9 by Xam Last 10 Torrents
what is the error you get?
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent Do not ask me to make a mod for any other source Do not Ask me to setup your site. I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum My Current Demo is here http://demo.btmanager.org/ |
#3
|
|||
|
|||
Re: TS v1.3.9 by Xam Last 10 Torrents
i have this
Code:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /data/18/1/75/141/1564956/user/1685657/htdocs/index.php on line 452 |
#4
|
|||
|
|||
Re: TS v1.3.9 by Xam Last 10 Torrents
why dont u use 4.3 nulled ??
|
#5
|
|||
|
|||
Re: TS v1.3.9 by Xam Last 10 Torrents
add poster sql in ur database
Code:
ALTER TABLE torrents ADD poster VARCHAR(255) NOT NULL |
#6
|
|||
|
|||
thanks
works awesome
|
Tags |
10 , torrents , xam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Torrents.ro | Fynnon | Community Cafe | 2 | 21st January 2015 12:45 |
What.cd has over 200,000 torrents | Fynnon | Community Cafe | 0 | 14th July 2008 15:54 |
Top 3 Torrents | jora33 | Yuna Scatari Edition (YSE) | 0 | 3rd July 2008 10:57 |