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. Are you goot at using Google?
  5. 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.
  6. 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.
  7. Check into using cURL.
  8. 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.
  9. Why don't you just edit the SQL file?
  10. What dice name is at key #2? Is that what you want to echo for rolling a 2?
  11. It's compensating for the fact that array keys start at 0.
  12. Jessica

    Timeout

    Files should be stored in the file system. You could upload those images via FTP in a few minutes.
  13. They do when your names make it so hard to write your own code that you keep writing bugs into it.
  14. Did you try the number format again? What is the number supposed to be?
  15. Post line 62-64.
  16. No, premiso, you are offensive. *pat pat*
  17. In Target they had a preview disc that was 99 cents and included a $5 off coupon. I haven't installed the demo yet.
  18. 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.
  19. 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.
  20. It might if you defined $a, and used quotes on your array key.
  21. Search the PHP manual for "concatenation". Also use quotes around your array keys when they are strings. Read the whole PHP chapter on strings.
  22. 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.