Jump to content

Jessica

Staff Alumni
  • Posts

    8,968
  • Joined

  • Last visited

  • Days Won

    41

Everything posted by Jessica

  1. Jesus Christ. You had all the variables in your first post. Now concatenate them. $email_message = $message."\n".$url etc etc
  2. Check what user id was returned, or use the database engines COUNT function
  3. Your message can be a string that has variables in it, yes.
  4. mail http://www.php.net/manual/en/language.types.string.php
  5. You need to check for MySQL errors. See my signature.
  6. I think we need to change the position of our usernames. Because amazingly numerous people can't figure out that everyone else's name is in the same spot as their own username.
  7. Jessica

    submit

    <input type="submit" name="submit" value="One" /> <input type="submit" name="submit" value="Two" /> <?php if($_POST['submit'] == 'One'){ // One }else if($_POST['submit'] == 'Two'){ // Two }
  8. Did you try using a little logic to look at what I posted and what you posted, and figure out how to USE what I posted?
  9. And as I said. The query "UPDATE `table` SET `column`=`column`+200 WHERE `id`=1" is a perfectly good query. You don't need to select it first. Just update it.
  10. Set Field = field+200 is a valid update.
  11. I haven't even looked at your link but that sounds like AJAX.
  12. Hire a programmer who can actually do the job?
  13. Did you see this topic that was just answered recently? http://forums.phpfreaks.com/topic/276385-insert-different-lines-from-textarea-to-different-mysql-rows/
  14. Read this. The entire thing. http://www.catb.org/~esr/faqs/smart-questions.html Then try again.
  15. Why do you have 8 tables with the exact same structure?? Try doing a UNION instead.
  16. Jessica

    Update

    Then why are you using a bunch of fields as your where clause instead of the id??
  17. Jessica

    Update

    You really need to give your table a primary key.
  18. The way you're describing this makes me think you didn't write the code.
  19. No, it kind of just proves that you feel the need to post every single thing you do and ask questions about it. You didn't even test your own code before asking how to do it? Come on.
  20. That's not what Barand asked. Good luck getting help when that's the way you respond to a simple question.
  21. Try making sure your browser is set to 100% too.
  22. You need to normalize the data.
  23. BTW, before you explain it to your friend, make some good bets. If he thinks the odds are 132% he can't lose, right?
  24. Well your friend is a moron. The chance of a dice roll being what you want cannot be over 100%. Come on. Try looking here for some help: https://www.google.com/search?q=dice+statistics+calculator This: http://gwydir.demon.co.uk/jo/probability/calcinfo.htm
  25. You're not capturing mysql errors, see my signature for that. Did you query the DB directly?
×
×
  • 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.