I have a problem with this bit of code, so if anybody can help me, please do so
PHP код:
new q[500];
mysql_format(MyHandle, q, sizeof q, "INSERT INTO `table_3` (`type`, `shiet`, `fact`, `price`, `level`, `owner`, `enterx`, `entery`, `enterz`, `cash`, `isthere`) \
VALUES (%d, %d, %d, %d, %d, %d, %f, %f, %f, %d, %d)",
BI[bizid][bType],
BI[bizid][bSheit],
BI[bizid][bFact],
BI[bizid][bPrice],
BI[bizid][bLevel],
BI[bizid][bOwner],
BI[bizid][bEnterX],
BI[bizid][bEnterY],
BI[bizid][bEnterZ],
BI[bizid][bCash],
BI[bizid][bIsThere]
);
mysql_pquery(MyHandle, q, "OnBizCreate", "businessid", bizid); // THIS LINE