Text read from php

Hello!
I have a problem…
I read 2 texts from PHP…
the php outputs " text1=blablabla&text2=dfdfdfds "
now, the problem is that it may occur that “&” apperas in the text (like text1=yes&no&text2=dasdasd)
and so text1 will not be read correctly.
what can be done?
thanks