13.11.2016, 12:29
I am making dynamic organizations and I have problem. Any ideas why thi is not working
It won't write anything in DB..
PHP Code:
new query[500];
mysql_format(g_SQL, query, sizeof(query), "INSERT INTO `orgs` (`Name`, `Leader`, `ExitX`, `ExitY`, `ExitZ`, `IntX`, `IntY`, `IntZ`, `VW`, `Interior`) VALUES (%s, %s, %f, %f, %f, %f, %f, %f, %d, %d)", OrgInfo[org][oName], OrgInfo[org][oLeader], iX, iY, iZ, X, Y, Z, vw, interior);
mysql_tquery(g_SQL, query);