Ver Mensaje Individual
  #3 (permalink)  
Antiguo 27/07/2015, 12:24
chapacua
 
Fecha de Ingreso: julio-2015
Ubicación: Medellin
Mensajes: 11
Antigüedad: 8 años, 10 meses
Puntos: 0
Respuesta: Conversion Variables PHP a HTML

Ya me dieron Solucion, aqui la dejo por si las moscas =)
<?php
$hola = hola;
$bg = "#FFCC00";

?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://192.168.16.200/Bootstrap/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="http://192.168.16.200/Bootstrap/js/bootstrap.min.js"></script>
</head>
<body>

<div class="container">
<h2>Bordered Table</h2>
<p>The .table-bordered class adds borders to a table:</p>
<table class="table table-bordered">
<thead>
<tr>
<th>Firstname</th>
<th>Lastname</th>
<th>Email</th>
</tr>
</thead>
<tbody>
<tr>
<td bgcolor="#FFCC00"><?php echo $hola ?></td>
<td>Doe</td>
<td>[email protected]</td>
</tr>
<tr>
<td bgcolor="<?php echo$bg?>">Mary</td>
<td>Moe</td>
<td>[email protected]</td>
</tr>
<tr>
<td>July</td>
<td>Dooley</td>
<td>[email protected]</td>
</tr>
</tbody>
</table>
</div>

</body>
</html>