下面是我的查询,我想在Mysqlquery中调用PHP substr();。显然,substr(ident.secondName,-2,2)正在工作,但是substr(ident.FirstName,0,2)不工作。提前谢谢你!OR substr(ident.FirstName, 0, 2) = '$first_two' OR ident.FirstName IS NULL AND
(i
我在fpdf中执行SQL查询时遇到了一些问题,这可能吗?session_start();class PDF extends FPDF function Header() include('config.php');
$client_check = $db->prepare("SELECT * FROM clients WHERE client_fullname = '".$_SESSION[