Jump to content

Jessica

Staff Alumni
  • Posts

    8,968
  • Joined

  • Last visited

  • Days Won

    41

Everything posted by Jessica

  1. Are you sure you don't need to use GET and not POST? If you can do it in your URL address bar, that's the GET method, not POST.
  2. You didn't really expect us to help you without you making some effort, did you? you want someone to read your question, make it legible.
  3. Well, either you copied and pasted your question from somewhere, or you did it in the editor. You can use the toggle switch in the top left of the editor to go to plain text. Then use without the spaces around your code.
  4. Since you get only a blank page with no errors or output, you need to enable error reporting, and set it to E_ALL. I don't see any errors, but this isn't your actual code, so it's hard to tell what the problem might be without an error.
  5. That can't be your actual code, as it would produce a parse error. Why are you trying to do an insert and an update? If all you want to do is update the date, do UPDATE users SET last_date = CURDATE() WHERE user_id = (put the user's id here). You don't need to do anything with the index, or any other fields. Use the user's unique ID, not any other information.
  6. I didn't actually go to the sites, you never know what people might post here. Yesterday I had to hide a spam comment that actually had photographic porn in it.
  7. What dice name is at key #2? Is that what you want to echo for rolling a 2?
  8. It's compensating for the fact that array keys start at 0.
  9. Jessica

    Timeout

    Files should be stored in the file system. You could upload those images via FTP in a few minutes.
  10. They do when your names make it so hard to write your own code that you keep writing bugs into it.
  11. Did you try the number format again? What is the number supposed to be?
  12. No, premiso, you are offensive. *pat pat*
  13. In Target they had a preview disc that was 99 cents and included a $5 off coupon. I haven't installed the demo yet.
  14. Ah, who uses them the other way around? I assumed since op was only showing numbers without a decimal point that it was the other way.
  15. That's a comma not a colon. And yes, that is how PHP works. http://us2.php.net/manual/en/function.floatval.php You'll want to remove the comma. But I don't think you can even store a comma in a decimal type in MySQL. So... Edit: I just noticed you're in London. PHP uses the American style of . for decimal places and , for thousands separator. I think you can change your local to fix it.
  16. It might if you defined $a, and used quotes on your array key.
  17. Search the PHP manual for "concatenation". Also use quotes around your array keys when they are strings. Read the whole PHP chapter on strings.
  18. Once again: It wasn't an insult, I didn't say there was anything wrong with it, and I'm not being sarcastic. Stop reading into my text and just read it.
×
×
  • 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.