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.


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

Reply via email to