There is the following code snippet: "$check = $db->query(sprintf("SELECT * FROM testler WHERE u_id = %s AND kullanici_id = %s", secure($this->_data['u_id'], 'int'), secure($u_id, 'int') )) or _error(SQL_ERROR_THROWEN); I want to retrieve the value of kullanici_id from this code and print the matching result in another table where kullanici_id matches in that table. How can I do this? In other words, I will retrieve kullanici_id, search for it in the record table, and print the matching result. Thank you.