Hi everybody,

I've written a script that retrieves data from a database and uses this data to built 
a list of links.
----snippet--
print("<a href='nextscript.pl?subchpt=$result->{subchapter}'>More...</a>");
----snippet--
Unfortunatly one Subchapter is named 'M&A'. So when I try to retrieve the param 
subchpt 
        my $subchpt = $q->param('subchpt');
I get $subchpt = 'M'
So my question is: Is there a possibility to escape the &? 

Greetings Marcus


Marcus Willemsen
Online Redaktion
Juve Verlag GmbH
Sachsenring. 6
50677 Köln
++49 (0)221 91 38 80 16
www.juve.de


Geschäftsführer: Dr. Astrid Gerber, Dr. Aled W. Griffiths
Sitz der Gesellschaft: Köln
Amtsgericht Köln HRB 29593, Gerichtsstand: Köln
Bankverbindung: Stadtsparkasse Köln, BLZ 37050198, Kto-Nr. 4772281


Reply via email to