Jump to content

Maq

Administrators
  • Posts

    9,363
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Maq

  1. This topic has been moved to PHP Coding Help. http://www.phpfreaks.com/forums/index.php?topic=325365.0
  2. Is there a reason you have this in PHP Regex section? Also, as sasa mentioned, use tags and only post relevant code. No one is going to go through over 700 lines of code, this just implies you have done nothing to isolate the issue.
  3. This topic has been moved to PHP Coding Help. http://www.phpfreaks.com/forums/index.php?topic=325307.0
  4. This topic has been moved to mod_rewrite. http://www.phpfreaks.com/forums/index.php?topic=325281.0
  5. It's always a good idea to echo out your SQL statement ($sql) to see what values you're actually passing in. My guess is your query is failing, temporarily change this line to: mysql_query($sql) or die(mysql_error());
  6. Yes, the site is currently being renovated so I think we're holding off on mods and changes for now. Like previously mentioned, we've had mods like karma/thank you but they were eventually taken away (not sure exactly why though). Thanks!
  7. - Query the database: SELECT Active FROM [table] WHERE Username = '$UserNameToCheck'; - Use mysql_num_rows to check if there are results. - There are examples of how to do this in the manual link above.
  8. The rules apply to every one, including you. You're missing the entire point of having different boards on the forum. PHP Coding section is for php coding help... not webhost support. Again, you're wasting peoples' time by posting in the wrong section. DO NOT do it again.
  9. Why am I a jerk? You specifically stated that your question has nothing to do with PHP but yet you still post in the PHP Coding Help.
  10. Please use tags in the future.
  11. Then don't post in the PHP Coding Help section...
  12. Maybe relevant was a poor choice of word, replace it with something more appropriate. I would recommend coming up with some sort of branding/look/feel for your site & freelance business.
  13. - The feel is too bland IMO. You should find a good color scheme, there are tools to help you. - Get rid of the PHP, JQuery, etc. images at the bottom. If anything, scale them down, they're way too big. - Why do you have the PHP logo as the banner for you site? Replace it with something more relevant.
  14. He's special.
  15. Looks like JP's computer from Grandm's Boy.
  16. No, we would have to upgrade.
  17. Have a look at - .unbind.
  18. In the future, please use tags.
  19. Right, a lot of PHP scripts will break in/out of PHP to write HTML, JS, etc... But like Pika mentioned, it's to terminate a condition/loop whatever.
  20. Same here except for today I just got logged off at 12:30 EST.
  21. Please use tags in the future.
  22. Can you post the relevant code?
  23. What exactly are you trying to replace? It should look something like: ini_set ("display_errors", "1"); error_reporting(E_ALL); $string = "some words here, 12654124"; $pieces = explode(",", $string); foreach($pieces as $key => $value) { $value = preg_replace("/[a-z]+[a-z ]+/", "text to be replace", $value); echo $value . " "; } ?> Output:
  24. Please use tags in the future.
×
×
  • 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.