Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/16/2020 in all areas

  1. Removing the battery from a fire alarm does not make the fire go away.
    1 point
  2. Seems to me that the best approach would be to fix the problem instead of disabling the warning.
    1 point
  3. If $cat_id contains "" then the query will fail with a syntax error. But we don't know what's in it, nor do we know what's in your table - and we certainly have no idea what "don't work" means unless you tell us. Check if your query gave an error message.
    1 point
  4. You do it in the same way you have in your get_post($pid) function, only this time pass the category id get_posts($cat_id)
    1 point
  5. Have you tried putting a WHERE clause in your query, for example WHERE blog.cat_id = 4
    1 point
This leaderboard is set to New York/GMT-04:00
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.