While trying to do something like:
echo "<span>" "<b>" . $row["info1"] . "</b>" . $row["update1"] ."</span>";
It fails with an error log:
unexpected '"', expecting ',' or ';'
While trying to do something like:
echo "<span>" "<b>" . $row["info1"] . "</b>" . $row["update1"] ."</span>";
It fails with an error log:
unexpected '"', expecting ',' or ';'
Youre mising "." between "<span>"
and "<b>"
. Change your code like this
echo "<span><b>" . $row["info1"] . "</b>" . $row["update1"] ."</span>";
You need to concate it properly http://php.net/manual/en/language.operators.string.php
echo "<span><b> ".$row["info1"]."</b> ".$row["update1"]."</span>";
If you have multiple values to print then try this
$str = '<span>';
foreach($row as $val){
$str .= '<b> '.$val.'</b>';
}
$str .= '</span>';
echo $str;