View Single Post
  #13  
Old 07-01-2010, 01:24 AM
sssssssssss sssssssssss is offline
Cyril Rain
sssssssssss's Avatar
Join Date: May 2003
Location: Texas, USA
Posts: 1,134
sssssssssss will become famous soon enough
Ok, so with this:
PHP Code:
temp.reqitem requestsql("SELECT * FROM Items WHERE name = '" @temp.item"'"true);
  
temp.blue 1;
  
temp.queryString "INSERT INTO Auction_Selling VALUES (" @temp.blue", " @temp.sellacct", " @temp.reqitem["rowid"]@ ", " @temp.blue", " @temp.blue", " @temp.price", " @temp.reqitem["category"]@ ")";
  echo(
temp.queryString);
  
requestsql(temp.queryStringtrue); 
I am now getting this:
PHP Code:
INSERT INTO Auction_Selling VALUES (1sssssssssss, , 112, ) 
But, it's still not inserting at all, and the blank value at [2] and [6] is from the first part of code I just posted. I know at least in sql with php, thats how you pick and display what you want from a different request, when doing more than one. Not working here obviously. :/
__________________
Cyril Rain
Creator and leader of SLX
Admin of Elysium
Elysium's Facebook Page: http://facebook.com/GraalOnlineElysium
Graal Forum Thread: http://forums.graalonline.com...
Graalians Thread: http://www.graalians.com...


Reply With Quote