Jayz Posted July 27, 2012 Group: Members Topic Count: 59 Topics Per Day: 0.01 Content Count: 407 Reputation: 55 Joined: 07/24/12 Last Seen: October 22, 2024 Share Posted July 27, 2012 (edited) Hello i have sql codes here query_sql "insert into reward_log values ( null, 5013, '"+ escape_sql( strcharinfo(0) )+"', now() )"; how can i replace this 5013 on this code " + getitemname(@bought_nameid) + " thanks Edited July 27, 2012 by zaido78 Quote Link to comment Share on other sites More sharing options...
Emistry Posted July 28, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted July 28, 2012 like this ? getitemname(5013) Quote Link to comment Share on other sites More sharing options...
Question
Jayz
Hello i have sql codes here
query_sql "insert into reward_log values ( null, 5013, '"+ escape_sql( strcharinfo(0) )+"', now() )";
how can i replace this 5013 on this code
" + getitemname(@bought_nameid) + "
thanks
Edited by zaido78Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.