Jump to content

Jessica

Staff Alumni
  • Posts

    8,968
  • Joined

  • Last visited

  • Days Won

    41

Everything posted by Jessica

  1. What type of object is $wpdb? Where does it get instantiated?
  2. I'm not seeing anything related to it on Wordpress docs, what version?
  3. There should be some equivalent of fetch_row or fetch_assoc to get the rows you selected. I'm moving this to Third Party since you need help with WP functions.
  4. Not quite what I meant. Go find the code for query() and see what it returns; Post that function here.
  5. what does $wpdb->query() return?
  6. It looks like OP is using a wrapper for his queries that should handle making prepared statements. Going back to mysql_query and real_escape_string will be LESS secure, if he's using PDO or mysqli.
  7. So try adding a / in front of the url. I'd look into using the built in routing.
  8. Okay which of those sections is the one being triggered?
  9. Try putting a / in front of users. Or post your code so we can see. I've used the CakePHP link() function and never had that problem.
  10. Might as well start out learning PDO, even better
  11. I don't think you need the () either.
  12. Okay post the ACTUAL code for lines 23-27 or so. That's a basic syntax error. Your problem keeps changing.
  13. And what happens when you use the post one?
  14. http://php.net/manual/en/reserved.variables.post.php
  15. You said you tried using the $_POST array, and when I said post what you've tried, there's nothing there.
  16. If you post what you've actually tried you might get more useful help.
  17. ... $_POST. A basic google search should have revealed plenty of tutorials.
  18. It's back now
  19. You're letting just anyone run SQL queries????
  20. Now the mobile site isn't loading at all. I waited a few hours and got home and checked on the computer and the forums load, but still nothing on the phone.
  21. You keep doing '2013-02'01' Which should in fact create a syntax error.
  22. You should probably start with learning the basics, or hiring someone who knows what they're doing.
  23. It does look like by default PDO should access that file - but I don't know how you'd get the values from it.
  24. Stalker. :-P
  25. I just went right into it. My coworkers all got bar stools or raised chairs, and I decided not to. My desk has half raise and half normal so if I want to sit down I just move the laptop over there. Wear good shoes. The first thing to hurt will be your feet.
×
×
  • 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.