![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 | ||
Confirmed User
Industry Role:
Join Date: Oct 2018
Location: New Orleans, Louisiana. / Newcastle, England.
Posts: 1,116
|
![]() Could someone possibly point me in the right direction as to why this query isnt showing the results that I want when adding a category but, it allows me to pull the full contents of the database and display them when no WHERE or RLIKE is present?
Quote:
Quote:
What am I missing please? ![]()
__________________
NOTHING TO SEE HERE |
||
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
♦ Web Developer ♦
Industry Role:
Join Date: May 2005
Location: Full-Stack Developer
Posts: 12,468
|
RLIKE is for REGEX matches.
You should update the query: $result = mysqli_query($con,"SELECT * FROM Directory WHERE Category LIKE '%catfood%' LIMIT $offset, $total_records_per_page"); |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Confirmed User
Industry Role:
Join Date: Oct 2018
Location: New Orleans, Louisiana. / Newcastle, England.
Posts: 1,116
|
Quote:
![]()
__________________
NOTHING TO SEE HERE |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() ![]() |
|||||||
|
|||||||
Bookmarks |
Tags |
rlike, category, query, catfood, pagination, results, adding, mysqli_query$con, select, directory, $result, luck, helpme, limit, missing, pages, add, amount, catergory, $offset, $total_records_per_page;, data, direction, displaying, issue, possibly |