$sql="select * from test limit" .($page-1)*5.",5";
always displays this sentence error Parse error: syntax error, unexpected '",5"' (T_CONSTANT_ENCAPSED_STRING) I don’t understand what’s wrong
Oh oh
$sql = "SELECT * FROM `test` LIMIT ".(($page-1)*5).",5"; Solved``
Oh oh
$sql = "SELECT * FROM `test` LIMIT ".(($page-1)*5).",5"; Solved``