View Full Version : Whats wrong with this code?!

02-19-2006, 06:53 PM
Hi.. I dont understand how to rectify this.. The value paramater is supposed to have double quotes.. I need double quotes wihtin the text box, while value parameter itself needs to be within double quotes.. as such the below code doesnt work.. Any idea how to get this work..?

print "<input type=\"text\" value = \"<a href=\"$view_url\"><img src=\"$thumbnail_loc\" alt=\"Sample\"></a>\"><BR>";

Im just trying to print some html code with double quotes within a text box.. However this doesnt work.. Seem to have some problem in the BOLDED areas!

Can you figure out what?

02-19-2006, 07:05 PM
nevermind! got it working now! :)