kabucek Posted December 19, 2008 Share Posted December 19, 2008 hi @LL, i have $agreement in .php file this holds text which I need to edit but I can't find it. I tried: print print_r and var_dump but it only display the data and not where this is located. how to find where actual text from $agreement is located? thanks Quote Link to comment https://forums.phpfreaks.com/topic/137725-edit-data-from-array/ Share on other sites More sharing options...
Maq Posted December 19, 2008 Share Posted December 19, 2008 What exactly do you mean... how to find where actual text from $agreement is located? ??? Quote Link to comment https://forums.phpfreaks.com/topic/137725-edit-data-from-array/#findComment-719912 Share on other sites More sharing options...
Mark Baker Posted December 19, 2008 Share Posted December 19, 2008 i have $agreement in .php file this holds text which I need to edit but I can't find it. You'll need to search the file to find where the variable $agreement is actually defined rathe rthan simply where it is echoed to the screen Quote Link to comment https://forums.phpfreaks.com/topic/137725-edit-data-from-array/#findComment-720031 Share on other sites More sharing options...
Maq Posted December 19, 2008 Share Posted December 19, 2008 I can't believe I'm giving this tip, use ctl+f and find $agreement. If you are positive it's an array then print_r will work: print_r($agreement); Quote Link to comment https://forums.phpfreaks.com/topic/137725-edit-data-from-array/#findComment-720036 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.