Reply to Re: html and php

Your name:

Reply:


Posted by Kim Andrι Akerψ on 11/27/06 13:49

J.O. Aho wrote:

> Gaga wrote:
> > echo "<a href='user_edit.php?id={$row_dbUsers['id']}'>edit</a>";
> > If i want to add color or other effect to this link i get all the
> > time parse error.
> > I have tryed with normal font color, size, mouseover but all the
> > time... parse error.
> >
> >
>
> echo "<a href=\"user_edit.php?id={$row_dbUsers['id']}\"
> style=\"color: green; font-size: larger;\"
> mouseover=\"javascript_function(); return true;\">edit</a>"
>
> or
>
> echo <<<EOF
> <a href="user_edit.php?id=
> EOF;
> echo $row_dbUsers['id'];
> echo <<<EOF
> " style="color: green; font-size: larger;"
> mouseover="javascript_function(); return true;">edit</a> EOF;

You could also present the second version like this:

echo <<<EOF
<a href="user_edit.php?id=${row_dbUsers['id']}" style="color: green;
font-size: larger;" mouseover="javascript_function(); return
true;">edit</a>
EOF;

--
Kim AndrΓ© AkerΓΈ
- kimandre@NOSPAMbetadome.com
(remove NOSPAM to contact me directly)

[Back to original message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация