Use following Example. and use according to your codes.
Example:
PHP
$sql="SELECT * from plugin WHERE cat = '$catid' and id <> '$id' order by id ASC LIMIT 30";
How to stop displaying a record from mysqli row id | Mysqli Select Tutorial |
How to exclude a specific row from mysqli select record | Mysqli Select Tutorial |
How to exlude empty value from selecting mysqli row | Mysqli Select Tutorial |
How to Check if exist in database mysqli_num_rows | Mysqli Select Tutorial |
Type: | Php |
Category: | Web Tutorial |
Sub Category: | Mysqli Select Tutorial |
Uploaded by: | Admin |