I'm not getting full text while concatenation the string with dynamic variable from database. My code is:
$page ="<input type='text' name='neil' value=".$blogname.">";
I'm getting output like this:
<input type="text" name="neil" value="My" test's="">
Expected output:
<input type="text" name="neil" value="My test's">
$blognamecontain?name'neil'certainly will not be magically changed toname='neil'by the php fairies.