[PHP] IE and Netscape

2002-02-19 Thread Alex Francis

The following code shows exactly what I want in IE5 but does not in
Netscape. I have tried various combinations of slashes and quotes but can't
get it to display properly. Can anyone show me the changes I need to make.

Code:
echo h6,$name, nbsp nbsp, E-mail:, nbsp,$email, nbsp
nbsp,$date, nbsp nbsp, PostID:, nbsp,$id ,/h6;

IE5:Debbie McNicol   E-mail: [EMAIL PROTECTED]  PostID:
180

Netscape:   Debbie McNicol  nbspE-mail:[EMAIL PROTECTED]
nbspPostID:nbsp180


--
Alex Francis
Cameron Design
35, Drumillan Hill
Greenock PA16 0XD

Tel 01475 798106
[EMAIL PROTECTED]
http://www.camerondesign.co.uk

This message is sent in confidence for the addressee only. It may contain
legally privileged information.
Unauthorised recipients are requested to preserve this confidentiality and
to advise the sender
immediately of any error in transmission.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] IE and Netscape

2002-02-19 Thread Jeff Van Campen

 The following code shows exactly what I want in IE5 but does not in
 Netscape. I have tried various combinations of slashes and quotes but can't
 get it to display properly. Can anyone show me the changes I need to make.

HTML entities begin with a  (ampersand) and end with a ; (semicolon).
You are going to want to replace nbsp with nbsp;

-jeff


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] IE and Netscape

2002-02-19 Thread Richard Black

The problem isn't php related - its HTML.

Try changing nbsp for nbsp;

The semicolon is, strictly speaking, required for proper HTML syntax, but IE lets you 
get away with not having it.

I guess Netscape doesn't.

HTH,

Richy

==
Richard Black
Systems Programmer, DataVisibility Ltd - http://www.datavisibility.com
Tel: 0141 435 3504
Email: [EMAIL PROTECTED]


-Original Message-
From:   Alex Francis [SMTP:[EMAIL PROTECTED]]
Sent:   19 February 2002 10:15
To: [EMAIL PROTECTED]
Subject:[PHP] IE and Netscape

The following code shows exactly what I want in IE5 but does not in
Netscape. I have tried various combinations of slashes and quotes but can't
get it to display properly. Can anyone show me the changes I need to make.

Code:
echo h6,$name, nbsp nbsp, E-mail:, nbsp,$email, nbsp
nbsp,$date, nbsp nbsp, PostID:, nbsp,$id ,/h6;

IE5:Debbie McNicol   E-mail: [EMAIL PROTECTED]  PostID:
180

Netscape:   Debbie McNicol  nbspE-mail:[EMAIL PROTECTED]
nbspPostID:nbsp180


--
Alex Francis
Cameron Design
35, Drumillan Hill
Greenock PA16 0XD

Tel 01475 798106
[EMAIL PROTECTED]
http://www.camerondesign.co.uk

This message is sent in confidence for the addressee only. It may contain
legally privileged information.
Unauthorised recipients are requested to preserve this confidentiality and
to advise the sender
immediately of any error in transmission.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php