Re: Which link was selected?
| From: | Goetz Lohmann | Date: | Tue, 04 Feb 2003 16:05:11 +0000 |
| Subject: | Re: Which link was selected? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-134285@lists.php.net to get a copy of this message | ||
Leonard Burton schrieb:
> Good Catch,
>
> Be just as an advisement besure to escape those quotes with a backslash \"
>
> Leonard.
>
>
yes, you are right, but I also prefer the way of
<?php
// do something here
?>
<a href="go somwhere"><img src="image.gif" name="myname"
border="0"></a>
<?php
// do something here
?>
instead of
<?php
// do something here
echo "<a href=\"go somwhere\">";
echo "<img src=\"image.gif\" name=\"myname\"
border=\"0\"></a>";
// do something here
?>
cause its easyer to change HTML code afterwards without hacking \" everywhere
and you could preview styles in browser if you looking for a file but that's
just freaky to discuss which one might be better ...
;-)
--
@ Goetz Lohmann, Germany | Web-Developer & Sys-Admin
\/ ------------------------------------------------------
() He's the fellow that people wonder what he does and
|| why the company needs him, until he goes on vacation.