14.06.2016, 06:37
Hello i am converting a Sqlite Filterscript into MySQL, because Sqlite is giving me some errors and i am not able to compile. so i need a small help. can you tell me how do i convert these lines in MySQL? thanks
i changed others but can you please tell me how do i conert those lines into mySQL? thank you in advance.
PHP код:
new id, Float: pos[3], Float: rot[3];
stmt_bind_result_field(LoadTrees, 0, DB::TYPE_INTEGER, id);
stmt_bind_result_field(LoadTrees, 1, DB::TYPE_FLOAT, pos[0]);
stmt_bind_result_field(LoadTrees, 2, DB::TYPE_FLOAT, pos[1]);
stmt_bind_result_field(LoadTrees, 3, DB::TYPE_FLOAT, pos[2]);
stmt_bind_result_field(LoadTrees, 4, DB::TYPE_FLOAT, rot[0]);
stmt_bind_result_field(LoadTrees, 5, DB::TYPE_FLOAT, rot[1]);
stmt_bind_result_field(LoadTrees, 6, DB::TYPE_FLOAT, rot[2]);