Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
update sql
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / Torrent Trader / v3 Support

2021-06-07 17:14:07
hello, all my torrents are in freeleech and I'm looking for the sql query to do on phpMyAdmin to put back the torrents without freeleech I think it should start with update torrent but I don't know what to put, thanks in advance for your help  :thum

I did a test with the sql query below and it does not work

SQL_Query_exec("UPDATE torrents SET freeleech = 0";);
Last edited by niki on 2021-06-07 17:44:37
2021-06-07 17:57:00
Try with
WHERE freeleech = 1
On the end of the query that should change all
2021-06-07 17:58:49
phpmyadmin
UPDATE `torrents` SET `freeleech` = '0' 

TTv3 Micro Edition
Ubuntu 20.04.6 LTS Server
Mysql Version: 10.3.39-MariaDB-0ubuntu0.20.04.2
PHP Version: 7.4.3-4ubuntu2.20
Apache Version: Apache/2.4.59 (Ubuntu)
2021-06-08 15:36:02
thanks for the support MicroMonkey it works well with this sql query   :thumb   :bigsmile
2021-06-10 00:38:14
Provide a WHERE clause, otherwise it expects every single row.
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 1
  • Members: 0
  • Guests online: 1
  • Comments: 3
  • Messages: 1,728