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 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? ??? 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 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); Link to comment https://forums.phpfreaks.com/topic/137725-edit-data-from-array/#findComment-720036 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.