Jump to content

ginerjm

Members
  • Posts

    6,906
  • Joined

  • Last visited

  • Days Won

    99

Posts posted by ginerjm

  1. 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.

  2. 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');

     

  3. 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.

  4. 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.

  5. 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....

  6. 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.

×
×
  • 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.