Jump to content

requinix

Administrators
  • Posts

    15,292
  • Joined

  • Last visited

  • Days Won

    436

Everything posted by requinix

  1. It probably doesn't work because your "button" is actually a link. But I don't actually know what "output" you're trying to get...
  2. Well, you could do it... you know... recursively. As in you do one query to find the next step's relations, then another query for the next, and another for the next, until you've gone as far as you want (or you run out of relations). Remember not to check IDs you've already seen before. Depending on your database server, you may be able to write a recursive SQL query using CTEs...
  3. Don't use the version from FlatPak: it's unofficial and apparently buggy. Install VS Code from an official source.
  4. Keep track of the previous row. When the current row's year (or whatever you want to measure by) changes then you stick an ID on the table row.
  5. Probably? It's a package manager. See if you have it installed, and if so if it thinks VS Code was installed through it.
  6. Did you install the "FlatPak" version of VS Code?
  7. You need to stop saying "group by" and start describing what you want to do.
  8. That does not help to explain why you're doing this. I'm asking because this query INSERT INTO invoice_price (order_id) SELECT order_id FROM ordered_items GROUP BY order_id WHERE order_id = '$order_id' doesn't make any sense: you take the $order_id that you already know, search for it in the ordered_items table, and then insert those results into invoice_price? Why aren't you inserting the $order_id value directly just like you did with ordered_items?
  9. There could also be a bug with annotation support. It really should not be that inconsistent - unless there's some kind of technical limitation. Probably.
  10. Explain what that means. "Group" how?
  11. PHP does not parse /** */ docblocks. That's Doctrine/Symfony (I forget which one technically does the annotation support). But code doesn't behave randomly so there must be some difference between the situation that works and the one that does not. Either way, the answer is the same: don't import stuff you don't need, do import stuff you do need.
  12. Are you saying that in one situation, having the imports in the trait file and not the class file works, but in another situation the same arrangement does not work?
  13. In general, if you have problems with code not doing what you want, posting said code is probably a good first step. There are multiple ways of enforcing the digit rules so knowing what your current code is will help identify what approach will work best.
  14. Why is this thread still going? Do you need pictures? Here's some pictures.
  15. Back to your original posted question, Still getting the impression that you posted a couple snippets of code. What's the complete source?
  16. Editor is a bit buggy with multiple toolbar rows, but I think I got it.
  17. Fixed. y'all are weird for posting code from a phone but whatever
  18. Well, there has to be some code somewhere that is not working as expected, because once that "result" makes it to "dee" and getElementById, it no longer works. Stop posting descriptions of your code and post your actual code. 600+ posts now. You should know this. Upon discussion with myself, management has decided to address this by pointing out to the user that they should be using the Code <> button when posting code instead of the Quote " button. Again, 600+ posts.
  19. Are you talking about project_edit.html? Is that where the form with task_lead and task_title and such are? That page gets the ID from the URL, right? Put the ID into the form as a hidden input so that you get a copy of that along with all the other data you want.
  20. Regular expressions are also an option. Once you've drilled down as far into the HTML as you can, you can much more safely look for things like "Age: <number>".
  21. Tried a PNG with transparency?
  22. A website that you control? Someone else's? Can you tell them to fix their markup so that it's, you know, syntactically valid HTML?
  23. You cannot browse to /test2 with your address bar. It is only accessible by POSTing an HTML form.
  24. Please post the code you actually have that is currently working.
  25. Add the closing div tag? Where is the HTML coming from?
×
×
  • 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.