Jump to content

Maq

Administrators
  • Posts

    9,363
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Maq

  1. The credentials from the first post are incorrect. Seems like most of your containers aren't aligned. Your slogan should read, "Your", not, "You're".
  2. False, my avatar is a png. I did try uploading yours here and it did not work. I also tried uploading yours on a stock SMF forum and it did not work either.
  3. It was a really big badger... Anyway, it's a shame what happened.
  4. For example, if the "Education" category id is 2, you would JOIN the tables like so: SELECT * FROM projects p LEFT JOIN project_categories pc ON p.cp_id = pc.c_id WHERE p.cp_id = 2
  5. Assuming categories is how you would like to group, you're going to have to join 'projects' and 'project_categories' ON 'cp_id' -> 'c_id'.
  6. We need to see the ret11() method.
  7. You're going to have to elaborate, this doesn't make sense to me.
  8. Thanks Thanks ToonMariner. Its working now.. Did you turn registered globals on? If you did, that's a very poor solution... They should never be relied on and in fact, were deprecated as of PHP 5.3.
  9. Not sure 100% sure, but I think you can just unset() the object.
  10. if(isset($_POST['sub'])) { echo " mname={$_POST['mname']} "; } ?> </pre> <form method="'POST'" action="'<?php">'> </form> <br><b A few issues: 1) Using short open tags is highly discouraged. 2) When submitting to the same page you should use the safer reserved variables PHP_SELF. 3) Seems as though you're utilizing global variables which have been turned off a while ago due to security reason. If you're using POST or GET use them respectively when submitting in forms. 4) You should also check to see if the 'sub' button was pressed with the isset function, to avoid empty variables.
  11. I wouldn't, just in case someone else would like to critique and leave comments but it's up to you.
  12. Hi ConnorSBB, If you would like people to test your forum software, I can move this to the more appropriate "Beta Test Your Stuff" section.
  13. If this is your intention, you can use REPLACE INTO. If the entry exists, the row will be updated, if not, it will insert a new entry.
  14. You pass the value(s) when you create the object, not when you import the file.
  15. Hi webguync, You need to add the 'submit_timestamp' entry just like the rest of your values in the INSERT statement, or you can take Mchl's approach and add it automatically.
  16. Do you mind sharing so others can reference this thread if they come across the same problem?
  17. I believe you're missing a back slash before the medal attribute. Try: row[@pattern_name="Curling"]/@medal It would also be nice to give us more information. Such as errors, unexpected results, what you expect, etc...
  18. Search the "PHP Coding Help" forum for OOP to find threads that already answer your question. What you are looking for is OOP not specifically classes which is only a small part of OOP. Here's a nice discussion: http://www.phpfreaks.com/forums/index.php/topic,285384.0.html
  19. Hi kla0005, If you could provide a bit more detail about what you're trying to accomplish, it would be easier for us to give you a more detailed and solid solution.
  20. Maq

    JOIN + IF clause

    I assume you didn't finish editing your post, until then it's impossible for us to help. And if you did finish editing, than it's still impossible.
  21. Yes, Google "Cpanel and crons" and you shall discover the answer.
  22. Maq

    Hello!

    Hi Kazzie, welcome (don't get too close, he bites...)
  23. Maq

    LIKE operator

  24. No worries bro. Just let us know when it's back up
  25. thewoat
×
×
  • 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.