Jump to content

Maq

Administrators
  • Posts

    9,363
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Maq

  1. Your query has 7 insert values (?) and you give bind 8 parameters.
  2. This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=305991.0
  3. What do you mean exactly (is there a blank page, no results from your query)?
  4. Maq

    Unknow Space

    Hehe, 20 to 1? I would have bet ∞ to 1.
  5. The INSERT has 13 columns and 14 values.
  6. Regarding: Parse error: syntax error, unexpected T_ELSE in you can't have multiple else's like that. You should be using elseif's and your final block can be the an else.
  7. You should be sanitizing the values you're INSERTing into the DB.
  8. This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=305964.0
  9. http://dev.mysql.com/doc/refman/5.1/en/date-and-time-functions.html#function_date-add
  10. This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=305885.0
  11. You were closer the first time except you were missing a value for the TERMINATED BY. Try this: $sql = "LOAD DATA LOCAL INFILE '".$_SERVER['DOCUMENT_ROOT']."/junk/2010-07-19_ddna_current_APJ.csv' INTO TABLE `pulled_openx_clicks` FIELDS TERMINATED BY '\t' ENCLOSED BY '\"' ESCAPED BY '\\' LINES TERMINATED BY '\n' IGNORE 1 LINES";
  12. I see a couple of issues: 1) You're not passing a mem_id via POST. Maybe you store it in $_SESSION['S_UID']; ? 2) The email field is blank... 3) You don't sanitize your input to the DB.
  13. if(strcasecmp($to, $username) == 0) { echo "same"; } else { echo "different"; }
  14. Ouput $to and $username to see what values they hold.
  15. I have no clue what that means, what you are trying to accomplish, what's wrong, or what this script is supposed to do. What have you done to narrow the problem down? if($to == username){ ?> should be (and should have thrown and error): if($to == $username){ ?>
  16. Are you sure you're even getting into the if statement? Because what AlexWD pointed out should have triggered the or die and it didn't. What PFM said.
  17. Turn on error reporting and output your query. Like Wolphie said, I'm not sure those POSTs at the top of your script are valid, take them out.
  18. Sorry but what are you trying to do exactly?
  19. Does anyone know if battle.net will be free just like the first one?
  20. For fun...?
  21. I don't see where $who is defined before the mail() call. What does it echo?
  22. Maq

    xml help

    I'd recommend using SimpleXML.
  23. I like Bugzilla, it's simple and easy to use. Written in PERL if I recall correctly.
  24. Those don't count towards your total. Before they didn't but with the new version of SMF, they do.
  25. Glad you got it working but your code changed every time you posted it and it's hard for people to help when that happens. You should also mark this thread as solved.
×
×
  • 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.