Jump to content

Ampersands in select statement


cazconv

Recommended Posts

Hi,

 

Trying to get my page to validate however it says "unescaped & which should be written as &amp" The ampersands are in the database which im not allowed to change (its an assignment)

 

I tried

 strtoupper($row['variable']); 

 

but the errors still occured, is there any way to convert the ampersands without changing the database, its only for select statements not updates or inserts

Link to comment
https://forums.phpfreaks.com/topic/199173-ampersands-in-select-statement/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.