View Full Version : additional fields links problem
August 16th, 2007, 08:28 AM
I am running a site where people post a graphic file, then link to the shopping cart page that sells those graphics. The problem is, the links have an & sign in them and when they use my additional field "Link to kit" to enter the link, it automatically adds amp; after the & sign rendering the link useless. Is there a way to fix this?
August 16th, 2007, 09:27 AM
well a link to your site where the issue is at question would help here let us assist you
August 18th, 2007, 08:27 PM
Sorry... the direct URL to the gallery is http://www.makeitscrappy.com/gallery and if you got here: http://www.makeitscrappy.com/gallery/showphoto.php?photo=1017&limit=recent
if you try to click "Link to Kit" you will see the amp; has been added after the & sign in the URL rendering the link useless.
August 18th, 2007, 10:49 PM
Well this is one of your normal extra fields right try this in showphoto.php
$extra1 = convert_markups($extra1);
change the line above to this
$extra1 = convert_markups(un_htmlspecialchars($extra1));
August 19th, 2007, 05:21 PM
Works perfect. Thanks a lot.
August 20th, 2007, 11:15 AM
Not a problem
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.