codehaven - php snippets - coding help
Generic filters
Exact matches only
  • Count rows returned (mysqli) – results from database

    31st May 2014

    MySql

    mysql codehaven category

    This will count result of rows returned from the query called $result and echo it straight to screen. Instead use the variable in a div to show the user amount of results from search. Use mysqli

    Was this code snippet helpful?