This is where I implement a reversal of quotes depending on what kind of
quotes I'll be using in it - the draw back is hitting the . key a lot to
concat with variables, but it makes the my code more readable (IMO - no \'s all
over the place.
So like this :
echo '<a href="http://'.$url.'">'.$title.'</a>'."\n";
or
echo "This is Mike's Homepage";
--Joe
On Wed, Mar 28, 2001 at 12:10:02PM +0200, Christian Reiniger wrote:
> On Wednesday 28 March 2001 08:18, you wrote:
>
> > in general, I avoid using quotes where possible (such as in the
> > following) <font size=3 face=Arial> (instead of <font size=\"3\"
> > face=\"Arial\">)
>
> Remember that XHTML *requires* quotes around every attribute value.
>
> --
> Christian Reiniger
> LGDC Webmaster (http://sunsite.dk/lgdc/)
>
> /* you are not expected to understand this */
>
> - from the UNIX V6 kernel source
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
/*****************************\
* Joe Stump *
* www.Care2.com *
* Office: 650.328.0198 *
* Extension: 122 *
\*****************************/
www.miester.org
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GB/E/IT d- s++:++ a? C++++ UL++$ P+ L+++$ E----! W+++$
N+@ o? K? w---! O-@ M+@ V-! P(++) PE(+) Y+@ PGP+++@ t+@
5? R-! tv@ b+ DI++@ D(++++) G++@ e+@ h@ r+! z(+++++**)!
------END GEEK CODE BLOCK------
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]