I am trying to insert into a MySQL database the results of these statements. The daatbase is setup correctly. When I insert into a database I get 3 dots "..." rather than what I am suppose to get. the last one for tel stores correctly, only the first two do not store into the database but only dots.
for($i = 0; $i < 5; $i++){
foreach($html->find('span.listado_destacado',$i) as $e){
if(!empty($e->plaintext)){
$list[$i] = $e->plaintext;
echo $list[$i];
}
}
foreach($html->find('span.street-address',$i) as $e){
if(!empty($e->plaintext)){
$addr[$i] = $e->plaintext;
echo $addr[$i];
}
}
foreach($html->find('span.tel',$i) as $e){
if(!empty($e->plaintext)){
$tel[$i] = $e->plaintext;
echo $tel[$i];
}
}
}//for
for($i = 0; $i < 5; $i++){
$res=mysql_query("insert into datos (list,addr,tel) values('".$list[$i]."','".$addr[$i]."','".$tel[$i]."')");
}