esta programacion tengo, ojala me ayudan.
Código PHP:
<?
if($f_codest!='A')
{
echo "<table width=\"100%\" border=0 cellpadding=4 cellspacing=0>";
echo "<tr>"
."<td class=\"boxtext\" align=\"right\" ><span class=\"boxtext\"><br>"
." <input type=\"submit\" name=\"submit_datos\" value=\"".lg_BtModif."\"></span>"
."</td>"
."</tr>";
echo "</table>";
}
else
{
if(($f_autoriza == $session["name"])&&($f_codest!='A'))
{
echo "<table width=\"100%\" border=0 cellpadding=4 cellspacing=0>";
echo "<tr>"
."<td class=\"boxtext\" align=\"right\" ><span class=\"boxtext\"><br>"
." <input type=\"submit\" name=\"submit_datos\" value=\"".lg_BtModif."\"></span>"
."</td>"
// ."<td class=\"boxtext\" align=\"right\">"
// ." <input type=\"submit\" name=\"submit_dobla\" value=\"".lg_BtDobla."\"></span>"
// ."</td>"
."</tr>";
echo "</table>";
}
}
?>