bestbuildpc: Forums
 

 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Updating with backticks in RavenNuke
 
 
Post new topic   Reply to topic    bestbuildpc Forum Index -> RavenNuke
View previous topic :: View next topic  
Author Message
bestbuildpc
Site Admin
Site Admin


Joined: Jun 30, 2012
Posts: 213
Location: NL

PostPosted: Fri Nov 15, 2013 10:58    Post subject: Updating with backticks in RavenNuke Reply with quote

in the root where mainfile is.
Open index.php

Search for

Code:
   $result = $db->sql_query('UPDATE `' . $prefix . '_banner` SET `clicks`=clicks+1 WHERE `bid`=\'' . $bid . '\'');


Replace with

Code:
   $result = $db->sql_query('UPDATE `' . $prefix . '_banner` SET `clicks` = `clicks` + 1 WHERE `bid` = \'' . $bid . '\'');


That's all folks!
  
Back to top
View user's profile Send private message Visit poster's website
bestbuildpc
Site Admin
Site Admin


Joined: Jun 30, 2012
Posts: 213
Location: NL

PostPosted: Wed Mar 29, 2023 12:07    Post subject: Reply with quote

Code:
$string=" WHERE news_cat='$catid' AND news_title LIKE '%$searchnews%'";


Replace with

Code:
$string = ' WHERE `news_cat` = \'' . $catid . '\' AND `news_title` LIKE \'%' . $searchnews . '%\'';
  
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic    bestbuildpc Forum Index -> RavenNuke All times are GMT + 2 Hours
 
 Page 1 of 1

 

Jump to:   
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001-2008 phpBB Group
 
Forums ©