Jump to content

Jessica

Staff Alumni
  • Posts

    8,968
  • Joined

  • Last visited

  • Days Won

    41

Everything posted by Jessica

  1. You might want to read up on what XSS is.
  2. What? That makes no sense.
  3. That line is missing the closing " and ; If you want help you need to post the actual code. Now you're concatenating the string when before it was one big string.
  4. We have code tags for that. You might want to review our rules and guidelines. OP, I'm marking this solved unless you come back and have a problem still.
  5. Only don't call it sum, that's a reserved word. My bad.
  6. Use a join, add the two columns together in SQL. Select t1.id, t1.col, t2.col, (t1.col+t2.col) as sum From t1 Inner join t2 On t1.id = t2.id
  7. How are they related?
  8. And pick some column names that make sense
  9. That doesn't make sense to me. As I said even the original version doesn't have a PHP syntax error. Are you sure it's that file?
  10. The whole point of using heredoc is so you don't have to escape quotes. You ended your heredoc after your closing }.
  11. Besides you missing your closing > in your HTML, it looks fine. If there were a syntax error it should show up in the highlighted code. You should probably switch to using HEREDOC though, rather than escaping every quote.
  12. The problem is it's not educational to use something that flat out will not work. Yes, underscores will work.
  13. PHP variable names cannot contain -, that will produce a lot of errors.
  14. Woo hoo!
  15. Hey I just wanted to clarify
  16. Zane that was not directed at you (I'm on my phone sorry)
  17. This is a coding forum. If you want help with code you need to write some.
  18. The browser already tells the user when a page is fully loaded. Whatever you add to do this will only make pages load slower.
  19. Also, try taking a screenshot of whatever this special character is since you can't paste it.
  20. His code IS your code. He told you what was wrong with it and you replied with a bunch of whining. Go read his post again.
  21. Uhm, no. Try it. It's basic math.
  22. And also state what you expect it to do to "work"
  23. Do a var_dump on the variables.
  24. Add them all up, then divide each one by the total and *100 to get the percentage.
  25. I was going to point it out once we solved the basic debugging issues. But do you even need the subselect?
×
×
  • 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.