una tabla tiene esto:
1: nombre1,mail1,datos1
2: nombre2,mail2,datos2,
etc...
si yo hago esto, lo que hace es ir fila x fila ... :
Código PHP:
$coneccion = mysql_connect($host_db, $usuario_db, $pass_db);
mysql_select_db($base_db, $coneccion);
$sql = "select * from base.SOCIOS where COD_SOCIO >= $intUIDFrom ";
$result = mysql_query($sql, $coneccion);
while( ($myrow = mysql_fetch_array($result))
{
$strToMail = $myrow[DES_EMAIL];
$strToName = $myrow[DES_USUARIO] . " - " . $myrow[DES_APODO];