Jump to content

KevinM1

Moderators
  • Posts

    5,222
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by KevinM1

  1. Looking at all that hexadecimal brings back painful memories of the assembly language course I took 10+ years ago.... :shudder:
  2. You do realize that you can customize PhpStorm's appearance? Just like with every other IDE? I use a modified version of the ubiquitous Son of Obsidian theme for both PhpStorm and Visual Studio. Looks great.
  3. Can you show us how you're trying to test your controller? Symfony is supposed to be usable with PHPUnit out of the box, and there's a section on it in the official docs.
  4. Locking this one, given there's a duplicate.
  5. An aspiring OOP programer should be one that recognizes that OOP is merely one programing paradigm among several, with its own strengths and weaknesses, and therefore not innately superior to other paradigms. OOP is a tool that should be applied in certain circumstances rather than all circumstances. There is no such thing as a perfect script, and not everything needs to be an object.
  6. Then you should really contact whatever government services would be appropriate. In the States, that would either be Medicaid, Medicare, or both, plus the appropriate state's department of HHS. I'm sure the UK has something similar.
  7. The red 'See More' buttons toward the bottom look blurry to me.
  8. What kind of forum is it supposed to be? Support? Something else?
  9. I'm just wondering what Java has to do with any of this. And if the OP means JavaScript. Which then makes me wonder if the OP is aware that Java and JavaScript have nothing to do with one another, since they're made by two different companies to do two different things, and that Netscape named what was internally called 'LiveScript' JavaScript to capitalize on Java's immense hype in the 1990s.
  10. There isn't one. There's no bar to pass or license to obtain in order to be a developer. You can get certificates from various places, but they're really not worth the hassle unless you're essentially guaranteed that having one will land you a job or promotion. Like others have said, having a solid portfolio is the key. There are plenty of great resources available, either online or in books. Programming: Sites: Here Stack Overflow Mozilla Developer Center PHP: http://www.amazon.com/PHP-MySQL-Dynamic-Web-Sites/dp/0321784073/ref=sr_1_1?ie=UTF8&qid=1377706744&sr=8-1&keywords=larry+ullman http://www.amazon.com/Objects-Patterns-Practice-Experts-Source/dp/143022925X/ref=sr_1_1?ie=UTF8&qid=1377706783&sr=8-1&keywords=zandstra http://www.amazon.com/Design-Patterns-Elements-Reusable-Object-Oriented/dp/0201633612/ref=sr_1_1?ie=UTF8&qid=1377706807&sr=8-1&keywords=gof JavaScript: http://www.amazon.com/Pro-JavaScript-Techniques-John-Resig/dp/1590597273/ref=sr_1_2?ie=UTF8&qid=1377706857&sr=8-2&keywords=resig Design: Sites: Smashing Magazine Designmodo CSS-Tricks A List Apart Books: http://www.abookapart.com/products/responsive-web-design http://www.abookapart.com/products/mobile-first And that's really the tip of the iceberg.
  11. "Yo dawg, I heard you like writing PHP to access your database. So I put PHP in your database so you can write PHP code to access your database with the code that's in your database."
  12. My first thought is that, since you don't have any programming experience, you're going to have a very hard time getting this off the ground. Someone at the top of your group will need to be able to gauge quality of equipment, material, etc. Moreover, you'll need to take into account language barriers, poverty, and cultural barriers. Good luck. To try to answer your questions, in my experience, online courses don't work as well as an actual teacher. As this site proves, books, tutorials, and videos don't answer questions. Having someone there, in the room, is invaluable. There's no specific road map as to how people gain their skills here. Some of it depends on what kind of programming a person wants to do. I'd say that most desktop application programmers have gone to a university, for example, while web developers are a more eclectic bunch. I have no idea what organizations would provide funding. Regardless, you'll need to have a bulletproof plan in place before attempting to get money.
  13. Your best bet may be to simply store the timestamp in either a file or database, and then read/write to it as necessary. That said, is there a reason why you're doing this in PHP rather than web forms or MVC? For interoperability, it seems like it would make more sense to use C# for everything.
  14. Are you hashing the entered password?
  15. $teacher = new Person(); echo teacher->isAlive(); Notice the difference?
  16. 1. My name is Kevin, not Keith. 2. You paid for code that worked. That transaction is complete and is separate from your current problem. 3. How would you know how long an experienced coder would take at this task? Experienced coders take the time to test their code to squash bugs and double check that things work. And, regardless, you do understand how freelancing works, don't you? You are not a charity case, nor are you somehow more inherently special than any other potential client out there. As a freelancer myself, I have to charge for at least an hour's worth of work for something trivial because I have my own bills to pay and don't have a consistent salary. Frankly, as a freelancer, I find your attitude to be a bit insulting. You don't deserve to have another person's skill and effort for free. What we do here is help people who want to learn how to do this. Since you clearly don't, you're wasting everyone's time. Again, you can't have it both ways. You either need to pay the cost of the time it takes to learn how to do this yourself, or you need to pay cash for someone else to do this. Welcome to the real world.
  17. You can't have it both ways. Either you need to learn how to fix it yourself, which we have given you the tools to do, or you need to pay someone to do it. $80 is an hour or two of work, so it's not like it's an exorbitant fee.
  18. No. You need to learn the basics of OOP. Time to stop randomly throwing code at the problem and start thinking like a developer. We've all given you the tools over the past few years. Now it's up to you to use them and take the next step in your development. I'm not trying to be rude or difficult, but this particular problem you're facing is just a symptom of your reluctance to learn. None of us are simply going to give you working code. You have the ability to figure this out on your own, especially after all of the things we have told you and shared. I've already given you a list of things to test and check and the name of a couple tools to do it in a professional and efficient way in this very thread. So, good luck with your problem. I actually sincerely hope you solve it own your own. Between everything we've told you and official documentation (which we all know you hate, but you'll have to learn to handle it if you're going to do this), you have all you need in order to succeed. And nothing feels quite so good as actually getting it.
  19. $dbh is supposed to be an object of some kind of class. You can't use it until it's instantiated (meaning, the object is created by a line that looks something like $dbh = new Class();). That's what the "non-object" error means: you're trying to use $dbh as an object (as denoted by the -> ), but it's not an object at that point since it hasn't been instantiated.
  20. It's different because, like I said, it will actually give you the errors and it will allow you to simply write queries without having to modify code in a page. It's more efficient and more immediate.
  21. For #3, how do you normally test that your queries are working? Here's the thing: you never, ever, ever want to just throw stuff up on your production environment. If you're doing anything non-trivial, you need to have a development environment. If you're on Windows, get WampServer (http://www.wampserver.com/en/), if you're on Mac or *nix, you can get what you need through a package manager. Regardless of what platform you're on (Windows, Mac, *nix), you need to have a local environment that you can do work on. It's more efficient, it allows you to tinker without worrying about killing the actual site, etc. phpMyAdmin is a web-based application that allows you to create/edit/drop tables, run queries, import/export data, etc. If you've ever had to do anything with a database on shared hosting, chances are you did it through phpMyAdmin. Since it's common for queries to simply fail without PHP echoing out the error, it's always a good idea to run them through phpMyAdmin to see if you have a syntax error. Beyond that, it's a good way to check that your queries are actually executing correctly (my questions 1 and 2). Just because something is being inserted, that doesn't mean the correct thing is being inserted, or that it's being inserted the right way.
  22. 1. Are you sure that 'coffee table' is a part of the .xml file you're reading from? 2. Are you sure that all of the data in the INSERT that's working is being inserted correctly? In the right format, in the right columns? 3. Have you attempted to run your UPDATE query in phpMyAdmin? If not, do so.
  23. Look at what I wrote in post #10. Instead of saying, "Thanks," and then NOT doing any of the things I told you to do, you should actually do them.
×
×
  • 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.