The string returned from your mysql_prep() function has escaped single quotes.
So.. ..you can't use these as delimiters in your query string. Change them to double quotes.
$query = "UPDATE settings SET name = \"$WName\",
subName = \"$SName\",
desc = \"$Desc\",
logoUrl = \"$LogoURL\",
about = \"$aboutPage\" ";
Can you try a $testQuery
with just text..
$testQuery = "UPDATE settings SET name = \"ABC\",
subName = \"DEF\",
desc = \"GHI\",
logoUrl = \"JKL\",
about = \"MNO\" ";
Also, you are missing a WHERE
clause, or is there only 1 row?