Jump to content

ginerjm

Members
  • Posts

    6,906
  • Joined

  • Last visited

  • Days Won

    99

Everything posted by ginerjm

  1. Welcome to good programing!
  2. Can you SHOW us the code for the 'Events link' so we can at least try and help?
  3. You said you want to get switch_1 status. To me (if I understand you) that means you expect that the string 'switch_1' has some kind of relationship to something called 'status' or something that you consider to be a 'status'. Well - if I understand this code (not 'codes') of yours there is none. Now - If you said you were looking for an element of your object that had a code of 'switch_1' and wanted to find the 'value' of that element then I could make sense of your dilemma.
  4. It appears from what you have posted that 'switch_1' is nothing more than a value. Don't now what you think could provide a 'status' of that value. Bye.
  5. By 'All Codes' are you saying that you are showing us all of your php programming? I doubt that is true but don't understand what else you are saying. I see what looks like 2 possible errors in this code. How about you add the following to the beginning of this code and running it? Then send us the error messages and point out the lines that are causing them. error_reporting(E_ALL); ini_set('display_errors', '1');
  6. So you are showing us your newest error message. So what do you think you need to do now? Perhaps echo the prameters you are using in the call to "array_reduce" ? That would tell you something. Like the first parameter that is currently null. Which means that your logic is flawed and you are not providing the needed data to this instruction.
  7. There are many good IDE platforms for doing those things. But they only provide the tools to do it - not the knowledge. Use the tool to navigate thru the software and find the things you need. What does 'tracing the path' mean to you? If you don't now any php it's going to be hard to debug the software. 'Tracing the path' could mean that you need to add some php echo lines to display the contents of some variables which might tell you what you want to know. Maybe you can identify a small section of code that you want to learn about and post it and we can add some code to display the things you want to decipher.
  8. Oh well, I guess we cannot communicate. Good luck.
  9. I asked for a sample of what you are currently doing to see how you want it to be altered. Please make your statements more understandable though. Your last made no sense at all.
  10. "the result you could not generate"? Why are you showing us that?
  11. How about a SMALL sample of what it looks like now?
  12. I believe Barand has already helped you so your response has no meaning any longer.
  13. Yeah - when I checked the code I didn't see anything wrong with it either.
  14. What error message do you see? You do have messages enabled, yes? And if you really want help maybe you should check back on your post a little quicker? And just why are you moving your app to another drive? Do you reference the drive in your code which would be the first thing i would think of. So many questions for someone who has not given us any information to help you with. Tsk, tsk....
  15. Posting hundreds of lines of your code is NOT the way to get help. Find the problem area and do your own debugging and then that doesn't help then show us just that portion. And Stop using Spreadsheets when you are thinking of doing web-development. They are extremely incompatible. When Barand asked to 'see your tables' I do believe he meant to 'show us the structure' not the contents. AND - when posting stuff POST IT. Not a link to some text file somewhere. A lot of people here will not even open a file here for fear of what they might be getting into. Pick out the code that needs attention and post that.
  16. If you get an error/message because you have attempted to address a non-existent value it is a sign of simply sloppy programming. That is what needs to be fixed, not the visibility of the messages. Rough talk I know but it is what it is.
  17. What is 'shorting'?
  18. So you DON'T want to include the script in the text description?
  19. You "want to include this script in a phpbb forum description"? Do you actually mean you want to publish your code as part of some text somewhere else? Doesn't make much sense.
  20. Now that Barand has shown you to setup the buttons, you just need to write code to not only recognize that your for has been 'posted' but then checkk and see what $_POST['btnSub'] is equal to and proceed to your logic.
  21. Are the 'fields' in each line separated by anything other than a space character? Perhaps a tab? If so, the best solution would be to load the text file into an sql table and then you could do this so much easier with a query. As it is it is a bear.
  22. Why don't you google it and read up about it? The first module mentioned that is...
  23. And what about when your system upgrades and starts flagging warnings as deprecated or 'no longer allowed' and it will no longer run without fixing these things that you don't want 'displaying'?
×
×
  • 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.