include "connect.inc.php";
include "include/connectbooks.inc.php";
$strnSQL = "SELECT * FROM register,trainee,history where trn_course.register.idcard=books.history.username and register.idcard=trainee.idcard and register.course0 = '$course0'";
$objcQuery = mysql_query($strnSQL);