Jump to content

niche

Members
  • Posts

    3,671
  • Joined

  • Last visited

  • Days Won

    17

Everything posted by niche

  1. What does your selection query look like?
  2. You might try to do a “save as”, but doesn’t seem your question is a code question.
  3. Here’s what you need; https://www.w3schools.com/sql/sql_update.asp
  4. That looks like a Wordpress function. You'll need to ask them unless you can post the HTML and CSS that it probably generates.
  5. s'il vous plaît poster votre code pertinent (please post your relevant code)
  6. Then, good work! Remember to comment completely what you just did for future ref.
  7. Yes. See my EDIT from last post
  8. So, what’s in the table? Are both names there? If so, the query is part of the problem. Either way, a few solutions come to mind, but let us know if both names are in the table. I’d like to know. EDIT: Look at the lastname col AND comp_name col
  9. What's the actual sql query you're using? Else, what's in $conn? EDIT: if not a SQL connection, $conn maybe a string that contains both possibilities.
  10. Sounds like a job for an if statement. Can’t tell you if you need one pre or post call without seeing your actual code.
  11. Writing websites, web tools or something else?
  12. Good. You have many options for your local developer environment I recommend this for starters: https://www.wampserver.com/en/ It's completely free. You don't even have to register. They don't care who you are. It's the localhost I use. Their download is clean. No viruses, malware, spyware, etc. EDIT: Still, run their dl through your virus scan before using it!!
  13. What kind of OS are you thinking about getting with your new laptop? Your answer will directly impact how you'll create your local development environment.
  14. In this context, I mean start writing code especially for reasons that interest you! The bigger the variety of ideas you try to write code for, the more valuable your code skills will be to you and the people that will want to hire you. Speaking for myself, the key to becoming confident as a coder is the willingness to make mistakes. Lots and lots of mistakes. It's just as easy for you to produce challenging, mistake producing code situations, as it is for employers. So, don't wait around for some one to hand you a job. Make one for yourself and be willing to tackle lots of mistakes. Making mistakes is the primary way people get to own what they learn. Most likely, you've only worked on code problems that have already been answered by someone else. Now it's time to ask yourself questions that lead to projects that you can show potential clients or employers. Self taught coders should naturally be able to create self taught code projects. As for my portfolio, I don't have one. Never occured to me to make one. I invented a way to use code to measure how much people overpay for their purchases and how much they're underpaid for their work. It's a job I'll be working on the rest of my life. So, I'm fortunate that I don't need a portfolio. BTW, those discoveries were made while I was looking for DIY projects to sharpen my self taught code skills. So, never stop learning and neither will I ! Qapla!
  15. If you plan to do everything client side, just start creating. Then, just save your work in a way that lets you share it. If you plan to do some things server side, you'll need to set up a localhost before you start creating. Then, just save your work in a way that lets you share it. What kind of computer OS do you use?
  16. niche

    code cleanup

    So, lets do it procedurally. There's no code to upload because you'll write it and everyone can help you especially me. That's one of the big advantages of using this Code Forum. You have 30 likes, 1,760 posts, and been coding for at least ten years! You can do this! EDIT: In the time it takes to find the code object, library, or framework that MIGHT do what you need it to do, you probably could've written the code you needed from scratch, WHEN YOU KNOW HOW TO CODE. Unless, you don't plan to answer the emails, texts and phone calls you'll get after enough users become unhappy with your patches. jimfog, this edit isn't directed at you necessarily. I simply want everyone to know that learning to write your own code is a superpower that should always be developed and used to the fullest extent possible.
  17. niche

    code cleanup

    Something like that. We could make it at least partially functional by focusing on one thing. First question, are you using a design pattern like MVC?
  18. niche

    code cleanup

    Is it possible to work on actual code instead of pseudo code?
  19. Great to know except solving CSS questions is a lot easier when I can use the developer tools built into every browser. If you wrote the code, it will be easy to edit down. If not, I'd just be guessing with no real chance of helping you get the right answer based on what you sent. There are too many moving parts and ambiguities. For example, what's a hamburger menu?? FYI, I loaded what you posted and what I saw looked nothing like your screen shot.
  20. Please resend the code you're actually using in the order you're using it so we can see exactly what you see. Also, please edit out the irrelevant parts if possible.
  21. After playing around with that function at https://www.w3schools.com/sql/trysqlserver.asp?filename=trysql_func_sqlserver_str2 , the function obviously has a rounding feature.
×
×
  • Create New...