When i open the file after its recovery the file i got this output. How to get my original output

What has this got to do with PHP?

this is the php code

No. Sorry, but more correctly that is the PHP file …

Opened in Notepad++ with the wrong character encoding.

Try changing the encoding until it looks like it should.

ok thanks

its not happening…i checked all the coding style but i couldn’t got the desired output

Where did you get the file from?

i had deleted this once…and then i recently recovered it…when i open after recovery…it opens like this

Recovering a file after deletion doesn’t always work - except if it had only been deleted to the recycle bin, then you’d expect it to work reasonably well. If it’s actually been deleted, there’s a chance something has been written over the original file, so by the time the recovery program finds the deleted directory entry, the content is no longer the same.

1 Like

version control

Then I was wrong with my assumption that is was a character encoding issue.

As droopsnoot suggested, the file has more than likely become corrupt and is no longer of any usefulness.

Best to simply get a fresh copy if you didn’t save a backup copy of it.

As oddz posted. better to use version control rather than deleting old versions. At least if it’s something you think you may need to go back to.

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.