Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Dec 2005
    Posts
    24
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Whats wrong with this code?!

    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..?

    Code:
    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?
    Last edited by smooth; 02-19-2006 at 07:02 PM.

  • #2
    New Coder
    Join Date
    Dec 2005
    Posts
    24
    Thanks
    2
    Thanked 0 Times in 0 Posts
    nevermind! got it working now!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •