Código PHP:
<?php
$conexion = mysql_connect("localhost", "root", "");
mysql_select_db("venta", $conexion);
$queEmp = "SELECT * FROM contenido ORDER BY id ASC";
$resEmp = mysql_query($queEmp, $conexion) or die(mysql_error());
$totEmp = mysql_num_rows($resEmp);
if ($totEmp> 0) {
while ($rowEmp = mysql_fetch_assoc($resEmp)) {
$contenido.= "<strong>".$rowEmp['CAMPO1']."</strong><br>";
}
}
echo "&campo1=".$contenido."&";
?>