Jump to content

Jessica

Staff Alumni
  • Posts

    8,968
  • Joined

  • Last visited

  • Days Won

    41

Everything posted by Jessica

  1. What? That makes no sense.
  2. 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.
  3. 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.
  4. Only don't call it sum, that's a reserved word. My bad.
  5. 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
  6. And pick some column names that make sense
  7. 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?
  8. The whole point of using heredoc is so you don't have to escape quotes. You ended your heredoc after your closing }.
  9. 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.
  10. The problem is it's not educational to use something that flat out will not work. Yes, underscores will work.
  11. PHP variable names cannot contain -, that will produce a lot of errors.
  12. Zane that was not directed at you (I'm on my phone sorry)
  13. This is a coding forum. If you want help with code you need to write some.
  14. The browser already tells the user when a page is fully loaded. Whatever you add to do this will only make pages load slower.
  15. Also, try taking a screenshot of whatever this special character is since you can't paste it.
  16. 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.
  17. And also state what you expect it to do to "work"
  18. Add them all up, then divide each one by the total and *100 to get the percentage.
  19. 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.