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.

PHP Forum


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



Freelance Jobs

Reply
Old 04-03-2008, 01:24 PM XHTML and PHP
Novice Talker

Posts: 11
Name: Pritesh Madlani
Trades: 0
Hi,

I am trying to validate my website - but am getting some error messages on the php e-mail form that I have.

The error message I am getting is:

Line 150, Column 21: "cols" is not a member of a group specified for any attribute.

<textarea cols id="message"='20' rows='10' name='Message' ></textarea>


and

Line 150, Column 33: an attribute specification must start with a name or name token.

<textarea cols id="message"='20' rows='10' name='Message' ></textarea>



An attribute name (and some attribute values) must start with one of a restricted set of characters. This error usually indicates that you have failed to add a closing quotation mark on a previous attribute value (so the attribute value looks like the start of a new attribute) or have used an attribute that is not defined (usually a typo in a common attribute name).


The website name is:

http://www.cse.dmu.ac.uk/~p04283218/mainframe9/

Any help would be appreciated.

Thanks.
pritmadlani is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-03-2008, 01:38 PM Re: XHTML and PHP
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
it's because you have the attribute "cols", but you don't say how many columns the textarea should have.
It looks like you pasted the id into the cols.
Code:
cols id="message"='20'

you should have it
HTML Code:
<textarea cols="20" id="message" rows='10' name='Message' ></textarea>
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Old 04-04-2008, 07:25 AM Re: XHTML and PHP
dansgalaxy's Avatar
Defies a Status

Posts: 6,521
Name: Dan
Location: Swindon
Trades: 0
Always the little things which slip us up.
__________________
Discounted Web Hosting With XDnet!
>> Get 25% of hosting~ Promo: Webmaster-talk <<

Please login or register to view this content. Registration is FREE
dansgalaxy is offline
Reply With Quote
View Public Profile Visit dansgalaxy's homepage!
 
Reply     « Reply to XHTML and PHP
 

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.11820 seconds with 12 queries