Date: 07/13/00
- Next message: Sels, Stefan: "AW: [PHP-DB] Could be this less complicated?"
- Previous message: Vojtìch Dvoøá: "[PHP-DB] Could be this less complicated?"
- Maybe in reply to: Vojtìch Dvoøá: "[PHP-DB] Could be this less complicated?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
The fastest, but not very elegant way is:
<?php
$tag=5555;
?>
<TD bgcolor="#56a4d8">
<FONT size=1>
<INPUT maxLength=5 name=tag disabled value="<?echo $tag; ?>" style="HEIGHT:
22px; WIDTH: 89px"></FONT></TD>';
Feel free to jump into PHP and escape from it as many times it makes your
work easier. You can mix PHP with HTML for example in this way:
<? for ($i=0; $i<10; $i++){ ?>
<H2>Multiple headres</H2>
<H3>Header no <? echo $i; ?></H3>
<B>Just some text...</B>
<?}?>
-- -- Marcin ¯ylski, dzia³ IT -- email: marcin.zylski <email protected> -- tel. +48 32 20 07 485 -------Original Message----- From: Vojtìch Dvoøák [mailto:vojtech_dvorak <email protected>] Sent: Thursday, July 13, 2000 12:28 PM To: php-db <email protected> Subject: [PHP-DB] Could be this less complicated?
Hi, I am just fighting with quotes problem. I know a solution for it, but is this easiest way how to do that?
<?php $tag=5555; echo '<TD bgcolor="#56a4d8"><FONT size=1><INPUT maxLength=5 name=tag disabled value="'; echo "$tag"; echo '" style="HEIGHT: 22px; WIDTH: 89px"></FONT></TD>'; ?>
It works (it print a field with 5555), but I have to cut the line to three lines in PHP... is there any other way how I can work with '," etc.?
thanks Vojtech
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
--------------------------------------------------------- This message has been scanned for viruses by MIMESweeper.
Wiadomosc zostala sprawdzona pod katem wirusow przez oprogramowanie MIMESweeper.
--------------------------------------------------------- This message has been scanned for viruses by MIMESweeper.
Wiadomosc zostala sprawdzona pod katem wirusow przez oprogramowanie MIMESweeper.
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Sels, Stefan: "AW: [PHP-DB] Could be this less complicated?"
- Previous message: Vojtìch Dvoøá: "[PHP-DB] Could be this less complicated?"
- Maybe in reply to: Vojtìch Dvoøá: "[PHP-DB] Could be this less complicated?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

