Jump to content

haku

Staff Alumni
  • Posts

    6,172
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by haku

  1. I believe (maybe incorrectly) using like without % takes longer than = as well.
  2. Line 1 is the opening pho tag. There is nothing wrong with it.
  3. You don't need GROUP_CONCAT for this. Just select ID normally, then loop through the results and put them into an array.
  4. What row error?
  5. I'm not sure if you thought that was a good explanation of what you are trying to do, but let me assure you, it wasn't.
  6. The first line of the code you've shown is is fine, so you haven't shown us the actual line 1. Show us your actual code, and please wrap it in code tags, which you can do by using the <> button in the editor.
  7. Do you want us to read your mind to guess what 'not working' means?
  8. We cannot read your mind and guess what the error you are seeing is. If you told us, maybe we could help you.
  9. Test cross-browser. If it is the same, you don't need it. If it's not, you do.
  10. There's probably something wrong with it. Unfortunately, not being able to read minds and guess errors, I can't say much more than that.
  11. What's line 18? Actually, show us lines 15 - 20 (just to be safe). Make sure you tell us which one is 18.
  12. Please use code tags around your code. It's the <> button in the editor.
  13. Please use code tags around your code. You can do this with the <> button in the editor.
  14. Please use code tags around your code. It's the button that looks like <> in the editor.
  15. It's the line that comes after 6.
  16. I believe the <b> tag is still valid, but the <strong> tag is preferred.
  17. Not enough information to say.
  18. Well, it's a little difficult to explain, but it's an anonymous function that provides protection against scripts breaking on other parts of the page. You don't actually specifically need to wrap it in the anonymous function. Actually, what you should be doing is the following: $(document).ready(function(){ setDatePicker(); }); This will execute on page load, ensuring that the element against which it applies exists. Without this, you may run into situations where the javascript is executed, but since the element doesn't exist at that time, you will run into troubles
  19. Explicitly set 'top' (or 'bottom') and 'left' (or 'right')
  20. function setDatePicker() { $('#popupDatepicker_cur_date').datepick({ onSelect: function() { $('#calendar').submit(); } }); } $(function() { setDatePicker(); }); function change_date() { document.getElementById("output").innerHTML='<input id="popupDatepicker_cur_date" name="popupDatepicker_cur_date" value="" />'; setDatePicker(); } Try that.
  21. Learn something new every day. I thought it was case sensitive.
  22. No. PHP has a function isset(). PHP does not have a function isSet().
  23. Probably this: if(isSet($_COOKIE[$cookieName])){ isSet != isset
  24. I'm assuming that when you try to run it, a kitten dies. Or does 'not working' mean something else?
×
×
  • 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.