Aaron4osu Posted February 2, 2012 Share Posted February 2, 2012 I'm trying to manually insert a url into a video table. But it is a long url with all kinds of special characters Here is an example: <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="640" height="320" id="viddler_gridweb_2"><param name="movie" value="//www.viddler.com/player/35da7dee/"/><param name="allowScriptAccess" value="always"/><param name="allowNetworking" value="all"/><param name="allowFullScreen"value="true"/><param name="flashVars" value="f=1&autoplay=f&loop=0&nologo=0&hd=0"/><embed src="//www.viddler.com/player/35da7dee/" width="640" height="320" type="application/x-shockwave-flash" allowScriptAccess="always" allowFullScreen="true" allowNetworking="all" name="viddler_gridweb_2" flashVars="f=1&autoplay=f&loop=0&nologo=0&hd=0"></embed></object> Is there a way without trying to escape all of the characters? Quote Link to comment Share on other sites More sharing options...
fenway Posted February 2, 2012 Share Posted February 2, 2012 I see nothing special about any of those characters. What's more, you MUST escape every string to send to mysql. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.