16
General SMFShop Discussion / Re: Question on "Steal Credits"
« on: May 27, 2006, 08:18:30 pm »Quote
That's not an exclamation, it's an apostropheoops!
Thanks guy's i will give it a shot.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
That's not an exclamation, it's an apostropheoops!
WHERE memberName = '{$_POST['stealfrom']}'}'", __FILE__, __LINE__);
global $sourcedir;
require_once($sourcedir . '/Subs-Post.php');
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''' at line 5
File: /home/site name/public_html/smf/Sources/shop/items/Steal.php
Line: 155
$result = db_query("SELECT memberName
FROM {$db_prefix}members
WHERE ID_MEMBER = {$ID_MEMBER}'", __FILE__, __LINE__);
$row = mysql_fetch_array($result, MYSQL_ASSOC);
$theif = $row['memberName'];