
Originally Posted by
Thaisha
is that so :P
$sql_string = "INSERT INTO ITEM_SEND_TBL([m_idPlayer], [serverindex], [Item_Name], [Item_count], [idSender], [adwItemId0]) VALUES(N'{$etCharacterId}', N'01', N'{$rewardName}', '{$rewardAmount}', N'0000001', '{$rewardId}');";
explain the brackets and the extra ; not to mention the N's that are are of no use at all
$sql_string = "SELECT m_idPlayer FROM CHARACTER_TBL WHERE m_szName = '{$etCharacter}';";
as far is i have learned this should be
$sql_string = "SELECT m_idPlayer FROM CHARACTER_TBL WHERE m_szName = '$etCharacter' ";
and if brackets are used to call on variables in strings, why is yours the only one i have seen using it.
even Google gets like O.o when i try and find something about that way of string typing
ow and ps Syntax errors are'nt cause i cant do nothing with PHP but its cause its wrong!!! and cause there are errors...
the $this-> is no where to be found in non of the other files included to the file that uses it... so how should that work....
not flaming you and not telling you that all your work is rubish, never did, but when i looked at it, those where points that emediatly got my attention, showed it to some more persons that use php even more than i do, and they asked me if i was a fool when i created it....
now it had me explaining that i didnt create it...
you say it works fine....
tutorial the ones that dont know how to use this...
after i took out all the things that i think are an error. it showed up just fine with no syntax error... and then still the stored procedures where missing. so couldnt store it in the database...
so... no harm done, just explain your work, cause its totaly difrent from what ive learned, and its giving me syntax errors on almost every single line that i corrected....