Posted by Geoff Berrow on 02/02/06 14:26
Message-ID: <drsif9$ctb$1@news.imp.ch> from Stefan Mueller contained the
following:
>Is it somehow possible to use plain HTML statements (without 'echo') within
>PHP (<?php ... ?>)?
Yep, just drop in and out of php.
<?php
if ($_SESSION['session_permission'] == true) {
?>
<tr>
<td width = '100%'>
<div class = 'style_data'>
<?php
$_SESSION['session_data'] = date("d.m.Y") . " " . date("H:i:s");
echo $_SESSION['session_date'];
?>
</div>
</td>
<td width = '100%'>
<input type = 'text' name = 'my_input' value = '' onMouseover =
"className = 'style_mouseover'">
</td>
</tr>
<?php
}
?>
--
Geoff Berrow 0110001001101100010000000110
001101101011011001000110111101100111001011
100110001101101111001011100111010101101011
Navigation:
[Reply to this message]
|