Jump to content

Maq

Administrators
  • Posts

    9,363
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Maq

  1. It is possible. Read the manual - http://dev.mysql.com/doc/refman/5.0/en/example-auto-increment.html
  2. The number is depends on what YOU want. What is this for? If this is just a unique identifier then use an auto-incremented field and start at 1.
  3. What is? I don't see any questions. Do you need help building the id, storing it, what is the problem?
  4. Looks like you're using a hash, are you hashing the raw password before you compare?
  5. If you fixed your issue mark the topic solved.
  6. As Maq already said what are you trying to do, can you be more precise. spamming emoticons would help Then he goes and changes around his code while people are looking at it...
  7. Garry, can you elaborate on where and what you're exactly trying to do?
  8. Like I said before, use OR tags around your code.
  9. This topic has been moved to PHP Coding Help. http://www.phpfreaks.com/forums/index.php?topic=337397.0
  10. The easiest way is to do this with Javascript. Have an onChange() event in your select menu and change the second one accordingly. Here is a good example - http://www.trans4mind.com/personal_development/JavaScript/tripleMenu.htm
  11. 1) If you don't know any of these languages, then why are you taking on this task? 2) No one is going to do this for you and you showed NO attempt. There are plenty of PHP examples on Google, look them up...
  12. In the future, please place OR tags around your code.
  13. Try something like: SELECT ad.full_name, a.account_balance FROM account_details ad LEFT JOIN account a ON ad.account_number = a.account_number
  14. I think you're joining the table incorrectly and getting multiple records in your result set. echo mysql_num_rows($result), I bet it's greater than 1.
  15. manix, that would mean your file calling the image resides in the same dir.
  16. How are you storing your IPs? If you have them as INET_ATON and INET_NTOA types, then you can simply condition for a specific range of IPs.
  17. It's probably because he doesn't want to give his personal email out so he manually replaced it and didn't know he removed the single quote.
  18. If you're filling out the email input field with the same email from this line it will send twice: $emailTo = myemail@gmail.com';
  19. What do you mean by refresh?
  20. In the future, please place OR tags around your code. I don't see any PHP code there. If you want to do this with PHP the page will reload, if not, you need to use JS. Where exactly are you getting caught on?
  21. perky, read through this link for some ways to properly handle exceptions and errors: http://www.phpfreaks.com/blog/or-die-must-die
  22. To isolate the speed issue you can use profilers (XHProf & XDebug are popular) to find exactly where your code is slowing down.
  23. In the future, please place OR tags around your code.
  24. Please don't start a thread linking to another asking for help. If it is a PHP issue, we can move it there.
×
×
  • 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.