Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-19-2006, 05:53 PM   PM User | #1
smooth
New Coder

 
Join Date: Dec 2005
Posts: 24
Thanks: 2
Thanked 0 Times in 0 Posts
smooth is an unknown quantity at this point
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 06:02 PM..
smooth is offline   Reply With Quote
Old 02-19-2006, 06:05 PM   PM User | #2
smooth
New Coder

 
Join Date: Dec 2005
Posts: 24
Thanks: 2
Thanked 0 Times in 0 Posts
smooth is an unknown quantity at this point
nevermind! got it working now!
smooth is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:05 PM.


Advertisement
Log in to turn off these ads.