Jump to content

Maq

Administrators
  • Posts

    9,363
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Maq

  1. Can I see that code? The mysql_error() part.
  2. Echo out $query to see the actual value, also put or die(mysql_error()) after your mysql_query() call to see if there are any SQL errors.
  3. Huh?
  4. Maq

    Header

    I don't see a header call to logbook.php.
  5. Maq

    Header

    Post the relevant code.
  6. Maq

    Header

    Looks right to me, what's the problem?
  7. I would agree with the AJAX suggestion, depending on what you're doing, it will be way less obtrusive.
  8. This topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=340660.0
  9. I think you answered your own question.
  10. If I understand you correctly, when you receive the POST value, just put it in your query string. $subValue = mysql_real_escape_string($_POST['subValue']); $sql = "update cycle set total=total-".$subValue." where id=1;"; $query = mysql_query($sql);
  11. I think it's a good idea, just signed up. I'm still waiting for my account to get approved, so I'm limited to what I can look at, but one suggestion is to make your header a bit more readable. The font, colors, and size specifically.
  12. Are you really passing in the string NULL?
  13. Some of us more than others. *cough* premiso *cough* KDM, did you figure it out?
  14. Read the manual - http://se2.php.net/manual/en/control-structures.if.php
  15. Post the entire error message.
  16. There are plenty of tutorials, demos, and source code on how to achieve this. Here is a site that provides 16 different form fields with demos and tutorials on how to build them: http://www.webresourcesdepot.com/16-free-ajax-contact-forms-for-a-better-user-experience/ If you are still having trouble getting it to work, come back with your code and we'll help you.
  17. ecabrera, only use or die() for debugging. Handling errors/exceptions appropriately (without killing the script) is a good practice. Check this read out - http://www.phpfreaks.com/blog/or-die-must-die
  18. Check to make sure your INSERT isn't failing. Add or die(mysql_error()) on the end.
  19. Specifically you want, shell_exec although, you might run into user permission issues.
  20. If you're referring to a user name, like the ones here that PHPF's uses SMF, then wouldn't you use CSS? Set the width and the lines would automatically wrap.
  21. This topic has been moved to HTML Help. http://www.phpfreaks.com/forums/index.php?topic=340421.0
  22. We needs your codes, and an example of what you want to do. And is there a reason you attached your logo to your OP?
  23. Maq

    help

    I would start by checking out their APIs and developer documentation: http://developer.linkedin.com/
  24. Maq

    onload

    I would personally just use JQuery's ready() method: http://api.jquery.com/ready/
  25. Are you seeing a blank page now or still the same error?
×
×
  • 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.