what is wrong with this code?
From: Kees (xxx_at_yyy)
Date: 02/28/05
- Next message: Tony23: "Re: Determining type of MySQL field."
- Previous message: montgomery.matt_at_gmail.com: "Re: PHP Script - Efficient use of execution time"
- Next in thread: Ken Robinson: "Re: what is wrong with this code?"
- Reply: Ken Robinson: "Re: what is wrong with this code?"
- Reply: John Dunlop: "Re: what is wrong with this code?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 28 Feb 2005 16:53:31 +0100
I was under the impression that the single quote ' did not interpret
the content.
prog 1
<HTML>
<BODY>
<?PHP
echo '"a"';
?>
</BODY>
</HTML>
this gives as expected "a"
prog 2
<HTML>
<BODY>
<?PHP
echo '"<a"';
?>
</BODY>
</HTML>
I want "<a" but
it gives "<a>
So without the closing " but with a closing >
Strange. What am I doing wrong?
Greeting
Kees
- Next message: Tony23: "Re: Determining type of MySQL field."
- Previous message: montgomery.matt_at_gmail.com: "Re: PHP Script - Efficient use of execution time"
- Next in thread: Ken Robinson: "Re: what is wrong with this code?"
- Reply: Ken Robinson: "Re: what is wrong with this code?"
- Reply: John Dunlop: "Re: what is wrong with this code?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|