Jump to content

Maq

Administrators
  • Posts

    9,363
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Maq

  1. Why don't you just use - http://www.php.net/manual/en/function.ctype-alnum.php
  2. Haha that's some funny stuff.
  3. I literally put this into Google and found answers... "What are the features of a web portal? what makes it different to a website?"
  4. Can we see your code? The server-side language shouldn't really matter, the end result is HTML.
  5. I agree with CV, ahem... Josh, that there really isn't enough threads to warrant its own sub-forum and I believe it belongs with all the other general PHP coding questions. On the other hand, I think Math rightly deserves its own sub-forum regardless of popularity (realistically speaking of course). Much of the time there is much more involved. Anyway, that discussion should be held somewhere else.
  6. Please don't double post, I moved your thread to the HTML section. This has nothing to do with PHP. Locked, use the other thread: http://www.phpfreaks.com/forums/index.php?topic=342336.msg1614926#msg1614926
  7. This topic has been moved to HTML Help. http://www.phpfreaks.com/forums/index.php?topic=342336.0
  8. Do you have the php_mssql.(dll | so) enabled in your php.ini?
  9. There are a multitude of ways to do this. Another way: $zip = "01101"; echo $zip[0];
  10. - Don't use short tags () use <?php. - Your actual JOIN looks fine. I don't see any condition with "title_id" in it.
  11. We need to update some of the musicians in there. I mean, KingPhilip was recently diagnosed with Bieber fever and would absolutely die to have Justin as his avatar.
  12. The default is actually nothing. But it's in the default gallery avatar options in your "Forum Profile".
  13. Maq

    ISO-8859-1 vs UTF-8

    Same. I almost always use UTF-8, although there are some exceptions.
  14. This topic has been moved to mod_rewrite. http://www.phpfreaks.com/forums/index.php?topic=342235.0
  15. Something minor I noticed, the "online image" (in the corner of the user icon) doesn't load when inside a thread. The image appears broken in Chrome and just doesn't show up in FF.
  16. Or something slightly different: echo "avatar_file}' alt='' />"; EDIT: Your new code: echo "avatar_file}' alt='' />";
  17. Do you get any errors in firebug or the js console after the first time?
  18. This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=342142.0
  19. This topic has been moved to mod_rewrite. http://www.phpfreaks.com/forums/index.php?topic=342139.0
  20. Did you turn error reporting on? What's in this file? include("../statreport/paid-content.php"); Is there any output?
  21. Actually, don't do that. Backtics are for escaping table/column names for reserved MySQL words. Single quotes are used primarily for values.
  22. It's impossible to answer that question. This all depends on a multitude of different requirements. For starters: What character sets do you require? How big/long do your varchars, ints, blobs etc. need to be? By 'nul', I'll assume null, which depends if you want to accept null as a value (or lack thereof). What type of information are you storing?
  23. Your query is probably failing. Change this line to: $result = mysql_query($sql) or die(mysql_error()); to figure out what the error is.
  24. In the future, please place OR tags around your code.
  25. This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=341934.0
×
×
  • 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.