Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Old 10-29-2006, 07:56 PM HTML bug?
Extreme Talker

Posts: 217
Trades: 0
I have a text input feild on a form, and the value is displayed using PHP. The wierd thing is though when php outputs a value of more than one word then only the first word will show up. For example, I might have PHP output the text input feilds value as "Video Games", but when you go to view it it will just say "Video". Is this a known bug in HTML or PHP, or is there somthing im doing wrong?

Code:
<input type="text" name="title" value=<?php echo $rows['title']; ?>>
By the way PHP outputs the values fine in textareas and just as regular text, this is the only thing its having trouble with.
Slick Nick is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-29-2006, 08:07 PM Re: HTML bug?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
are there any "newline" characters in the text field?
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 10-29-2006, 08:22 PM Re: HTML bug?
Extreme Talker

Posts: 217
Trades: 0
nope. If there is they got in without my knowing
Slick Nick is offline
Reply With Quote
View Public Profile
 
Old 10-30-2006, 02:31 AM Re: HTML bug?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Just noticed. You have missed off the quotes around the value attribute so the space will be delimiting the attribute content.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 10-30-2006, 11:12 PM Re: HTML bug?
Extreme Talker

Posts: 217
Trades: 0
Ah, I see. I was woried that putting quotes there would cause the php tag to not work for some reason, so i never did it, but it seems its quite the opposite thanks again
Slick Nick is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to HTML bug?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.15151 seconds with 12 queries