Creating admin page for client to use paypal add to cart buttons on his site

I am building a small admin page for my client to paste the code he has generated from paypal to use add to cart buttons next to his stock.

All seems fine, have created the area for him to upload:

<textarea name=“paypalPath” rows=“15” cols=“80” style=“width:100%”><? echo $paypalPath;?></textarea>

Which seems to be working fine, as just looked in the database and the code appears as it should in the text type area as below:

<form target=\\"paypal\\" action=\\"\\" method=\\"post\\">
<input type=\\"hidden\\" name=\\"cmd\\" value=\\"_s-xclick\\">
<input type=\\"hidden\\" name=\\"hosted_button_id\\" value=\\"J3CPLKUBXVAC4\\">
<tr><td><input type=\\"hidden\\" name=\\"on0\\" value=\\"Size\\">Size</td></tr><tr><td><select name=\\"os0\\">
	<option value=\\"4-7\\">4-7 </option>
	<option value=\\"7-11\\">7-11 </option>
</select> </td></tr>
<input type=\\"image\\" src=\\"\\" border=\\"0\\" name=\\"submit\\" alt=\\"PayPal – The safer, easier way to pay online.\\">
<img alt=\\"\\" border=\\"0\\" src=\\"\\" width=\\"1\\" height=\\"1\\">

All good so far, so then to the page where buttons is supposes to appear:


Then basically it doesnt output correctly, can anyone see what I am doing wrong, as all seems proper to me.

OK I worked it out sorry, strangely as I was stood making a cup of tea.


Which was obviously messing up the code.

Thanks for looking anyway