• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] ads

Started by star top,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

star topTopic starter

hi every body

If i delete the ads shows me this
QuoteYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-25,25' at line 1 in /home/****/public_html/lib/class.ezsql.php on line 249

Can I put the ads by modifying the file

  •  

PHPVibe A.


MacKen

Open file ads.php trong folder cpanel admin

$ads = $db->get_results("select  * from ".DB_PREFIX."ads ORDER BY  ad_id DESC ".this_limit().""); //


Reply:

$ads = $db->get_results("select  * from ".DB_PREFIX."ads ORDER BY  ad_id DESC limit 0,25");
  •  

PHPVibe A.

It was fixed in 3.6, MacKen your solution will break the pagination.

Similar topics (7)