-
Posts
6,906 -
Joined
-
Last visited
-
Days Won
99
Everything posted by ginerjm
-
PHP 8.1 How can I stop warning messages from displaying?
ginerjm replied to SLSCoder's topic in PHP Coding Help
Welcome to good programing! -
Software tool available to manage php website?
ginerjm replied to Webster_too's topic in PHP Coding Help
Can you SHOW us the code for the 'Events link' so we can at least try and help? -
How to fetch the value from stdclass object?
ginerjm replied to huseyinergen's topic in PHP Coding Help
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. -
How to fetch the value from stdclass object?
ginerjm replied to huseyinergen's topic in PHP Coding Help
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. -
How to fetch the value from stdclass object?
ginerjm replied to huseyinergen's topic in PHP Coding Help
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'); -
How to fetch the value from stdclass object?
ginerjm replied to huseyinergen's topic in PHP Coding Help
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. -
Software tool available to manage php website?
ginerjm replied to Webster_too's topic in PHP Coding Help
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. -
I want my project result output to be like the attached image
ginerjm replied to Olumide's topic in PHP Coding Help
Oh well, I guess we cannot communicate. Good luck. -
I want my project result output to be like the attached image
ginerjm replied to Olumide's topic in PHP Coding Help
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. -
I want my project result output to be like the attached image
ginerjm replied to Olumide's topic in PHP Coding Help
"the result you could not generate"? Why are you showing us that? -
I want my project result output to be like the attached image
ginerjm replied to Olumide's topic in PHP Coding Help
How about a SMALL sample of what it looks like now? -
php count lines in a text file with a specific variable
ginerjm replied to erisoov's topic in PHP Coding Help
I believe Barand has already helped you so your response has no meaning any longer. -
Yeah - when I checked the code I didn't see anything wrong with it either.
-
Wrote php program in c drive. Not running when send to d drive
ginerjm replied to sonia1098's topic in PHP Coding Help
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.... -
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.
-
PHP 8.1 How can I stop warning messages from displaying?
ginerjm replied to SLSCoder's topic in PHP Coding Help
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. -
What is 'shorting'?
-
So you DON'T want to include the script in the text description?
-
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.
-
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.
-
php count lines in a text file with a specific variable
ginerjm replied to erisoov's topic in PHP Coding Help
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. -
scraping from a page using file_get_contents and preg_match_all
ginerjm replied to wilsoc31's topic in PHP Coding Help
Why don't you google it and read up about it? The first module mentioned that is... -
scraping from a page using file_get_contents and preg_match_all
ginerjm replied to wilsoc31's topic in PHP Coding Help
Did you download it yet? -
PHP 8.1 How can I stop warning messages from displaying?
ginerjm replied to SLSCoder's topic in PHP Coding Help
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'?