Hi,
This is probably a stupid question but, is it possible to make php variables reusable in the html code after the php scripting is finished (see example below). I believe i could put the entire php script in the value=" ", but i'd rather reference the $max variable if its possible.
<html>
<body>
<?php
..............
$sql="SELECT Count(*) FROM Customers";
$rs=odbc_exec($conn,$sql);
while(odbc_fetch_row($rs))
{
$max=odbc_result($rs,1);
}
?>
<input name="CustomerNo" type="text" maxlength="5" value='<?php $max ?>'/>
Also on a separate is it possible to retrieve and display using just HTML the current time and date