$query = "SELECT * FROM tbl_name". //" LIMIT $offset, $rowsPerPage". " WHERE column1 LIKE '%".$keywords[$i]."%'". " OR column2 LIKE '%".$keywords[$i]."%'" . " OR column3 LIKE '%".$keywords[$i]."%'" . " OR column4 LIKE '%".$keywords[$i]."%'" . " OR column5 LIKE '%".$keywords[$i]."%'" . " OR column6 LIKE '%".$keywords[$i]."%'" . " OR column7 LIKE '%".$keywords[$i]."%'" . " OR column8 LIKE '%".$keywords[$i]."%'" . " OR column9 LIKE '%".$keywords[$i]."%'" . " OR column10 LIKE '%".$keywords[$i]."%'" . " ORDER BY column1"; I have a working search (of sorts) that uses the above code. I have been trying to implement pagination into the results, and when I uncomment the line " LIMIT $offset, $rowsPerPage"., I receive an error message. Note: $offset and $rowsPerPage are declared and initialized. Any help please?
Thanks nico_swd, just figured it out. I wish I'd just posted it earlier. I've dabbled with it (I won't say how long, just trust me, it was a period of time) for a while.