I am trying to insert the & symbol in my PHP code but instead its being converted into ASCII &.
Below is my code:
$symbolAnd= '&';
echo $symbolAnd;
foreach ($clientLists as $clientList =>$clientValue){
//Get values
echo $clientList .' - '.$clientValue['client-pass'] . '<br/>';
include('index.php?client='.$clientList.$symbolAnd.'pass='.$clientValue['client-pass']);
}//foreach ($clientLists as $clientList){
I am getting this error in my error_log;
PHP Warning: include() [<a href='function.include'>function.include</a>]: Failed opening 'index.php?client=john-jones&pass=123456' for inclusion
htmlspecialchars().