More complex sql query

QuestionsMore complex sql query
Mattias Cederlund asked 6 years ago


I want to add a query that only shows results where there are more than 2 rows in the table.

I would like to use a mysql_num_rows($result) that is >=2.

How can i do that?

1 Answers
Abu Ghufran answered 6 years ago

If you are using full version, you can use on_data_display event handler function, and check if the returned data array length <=2, empty the data array.

Refer demos/editing/custom-events.php for code.

Your Answer

13 + 15 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.

How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?