Jump to content

Maq

Administrators
  • Posts

    9,363
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Maq

  1. You can check to see if the original array is the same size as if you called array_unique on it, if not, then there are dupes, if so, it's unique.
  2. Business cards are for contact information. Keep it simple, use a few fonts, and include your branding, that's it. Also, the font in the bottom right will probably be nearly impossible to read when sized correctly.
  3. I receive this message from the link:
  4. So, what's your question? Please post the relevant code in tags.
  5. I agree, unless the title starts with 'The'.
  6. certainly I would, but what are such rules? I've seen that words like the, and, a, an aren't capitalized, but sometimes The is and it's all so very confusing. Yikes, really...?
  7. [quote author=nrg_alpha link=topic=54859.msg1262381#msg1262381 date=1251902408] [quote author=sqlnoob link=topic=54859.msg1262240#msg1262240 date=1251885056] none of the above don't use any of them i only use notepad and winsyntax [/quote] Trying to elicit 'torch and pitchfork' responses from the masses? ;) [/quote] Usually people who make these comments have only ever maintained their own little blog sites.
  8. What field(s) do you want to base your distinction on?
  9. All of your submissions are actioned towards "forgotpassword.php", which I assume is the current script.
  10. Maq

    reply

    Could you please elaborate on your question?
  11. If you already keep tabs of total views for each item then a simple query can get you this information. The rest would be relatively easy to create. If you don't want to take this route then I'm sorry, but I don't know of any pertinent scripts.
  12. Sounds like you don't have it installed/enabled. This may help: http://us.php.net/manual/en/curl.installation.php
  13. Something like this: DELETE FROM table WHERE field Any record where 'field' is more than 2 days old will be deleted.
  14. Learning from mistakes is a major part of programming. I bet you won't make the same mistake again, or if you do, you will be able to recognize it right away.
  15. You can accomplish this with DATE_SUB().
  16. If you're displaying to the browser use not \n
  17. There is no terminating '}', unless you didn't copy it.
  18. What do you mean? Maybe a database? However you want. Sorry for such vague answers, but I think you need to be a little more specific and provide more information.
  19. To answer your question, I'm not sure. But if this is to easily format your code then I would imagine that Dreamweaver has something similar to Eclipse, in that you can upload an XML file to auto-format your code with certain hot keys. Hope this helps, I'm sure you can find something on Google.
  20. Haha, good stuff.
  21. You never terminate your last 'else' statement. (and yes there is 65 lines)
  22. Why do you have an if statement around a function? Please use tags.
  23. That portion looks valid to me. Can we see more of the surrounding code? Are there more conditions before?
  24. Note that variables will not interpolate in single quoted strings.
×
×
  • 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.