Iam calling a querystring value which sometimes has an '&' in it. For example :
price_add.php?supplier_name=Devices & Services Co.&tender_id=481
In the above example in the supplier_name=Devices & Services (got a & in the supplier_name) and the operation is just taking 'Devices' instead of 'Devices & Services'. How will i solve this problem in php. Iam calling this script in the below format:
<A onclick="window.open('comparitive_files/price_add.php?supplier_name={$supplier_name}&tender_id={$tender_id}','mywindow','width=1200,height=800, scrollbars=yes, resizable=yes')" href="#">PRICE</A>