Jump to content

Jessica

Staff Alumni
  • Posts

    8,968
  • Joined

  • Last visited

  • Days Won

    41

Everything posted by Jessica

  1. Post DisplayImage. It needs to return a string, not echo.
  2. You shouldn't be echoing a form within a function. You can use templates or look into MVC to learn how to handle that sort of thing.
  3. Regex might even be overkill, Plain string functions can do this.
  4. Don't you think the date would be useful to determine first?
  5. You'd want to check if the value is set at that array offset. You can use isset() You might also want to do a print_r() on $fields to see what it contains.
  6. You don't even have to check, just set it. Edit: For the code to play it, yes, you have to check. So looks fine to me. don't forget the session_start();
  7. Yeah you never *have* to go with what the client wants. They hire you for your skills and knowledge. Not as a slave.
  8. I had that same question, I've seen several people using it lately and all I see on searching is an Adobe product?
  9. Then store a variable in the session when they load the page.
  10. Let the user decide when to play it. No one likes video or audio that starts without them choosing to start it.
  11. When you ran it in mysql or phpmyadmin it worked? See the link in my signature.
  12. For one, In PHP variables start with a $. And $grade needs to be defined. But if you're saying that immediately when the user selects 12 or 13, the field should be enabled, yes, that has to be javascript. Of which you have written none.
  13. Sorry Barand, wasn't trying to be pedantic.
  14. Isn't that the opposite of what OP wants?
  15. Don't post assinine stories that make you look like a criminal if you don't want to be judged. No, I called you an idiot based on all your posts before this one. Now I'm calling you a bad human being, not just an idiot. I think most decent humans value other humans over animals. I do value human life over animal life. In general. In particular, I think the cat was probably more valuable to society than you are. Furthermore, please don't talk to me about my rights to feel and say things. I have every "right" to think you're an imbicile, and every "right" to think you can't even construct a thought based on the fact that you keep saying not to value humans over animals. You're the one who bitched about an EIGHTY FOUR DOLLAR BILL. See above. You don't want people judging you for your comments, keep them in your fucked up little head.
  16. You need to check if the variable exists before using it. isset
  17. We can't get out of the vet for under $500 each time. I have a dog with epilepsy and the process of getting him diagnosed and on the right meds took thousands of dollars. When my ex's cat broke it's leg and had to have it amputated, that alone was $500. If I'm reading this right, you kept this stray cat and cared for it, LET IT HAVE BABIES, then took in one of those babies and consider that your cat...and then sprayed the cat with bleach? Then when its condition is so bad it has to be killed because the vet says it's in too much pain to live, you treat it like it's garbage. Just take the money and be done with it. I already thought you were kind of an idiot, now I see you're just a horrible human being too. I agree if I knew where you were I would call the police on you. Absolutely disgusting.
  18. You have too many } at one point. You have random public functions outside of your class. Indenting properly would help.
  19. FIX YOUR STRING CONCATENATION. You can't just throw single quotes, double quotes, and random text around and expect it to be interpereted.
  20. No. Because you don't learn that way. As evidenced time and time again. The problem you are having is BASIC syntax. You don't even know how to do string concatenation and you think it will be easy for you to make a secure login system.
×
×
  • 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.