Jump to content

[SOLVED] Problem in seperating an echo?


Miss-Ruth

Recommended Posts

By result??

 

$query = "SELECT * FROM dyomails WHERE identity = '$SomeVar'";
$results = mysql_query($query);
   if($line = mysql_fetch_assoc($results))
   {
   echo $line["email"] ;
   echo $line["logo"]."<br>";
}

 

By concat:

$query = "SELECT * FROM dyomails WHERE identity = '$SomeVar'";
$results = mysql_query($query);
   if($line = mysql_fetch_assoc($results))
   {
   $one .= $line["email"] ;
   $two .= $line["logo"];
}

echo $one;
echo $two;

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.