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.queryString, true);
I am now getting this:
PHP Code:
INSERT INTO Auction_Selling VALUES (1, sssssssssss, , 1, 1, 2, )
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. :/