query($u)){ die('There was an problem running query['.$connection->connect_error.']'); } while($row=$v->fetch_array()) { echo $metatag=$row['meta']; } } else { $tagmeta=$_REQUEST['astrologers']; $u="SELECT * FROM products where tag LIKE '%$tagmeta%'"; if(!$v=$connection->query($u)){ die('There was an problem running query['.$connection->connect_error.']'); } while($row=$v->fetch_array()) { echo ''.str_replace("-"," ",$_REQUEST['astrologers']).''; echo $metatag=$row['meta']; } } ?>

query($sql)){ die('There was an problem running query['.$connection->connect_error.']'); } foreach($result as $row) : if(isset($_REQUEST['astrologer'])){echo '

'.$row['pcategory'].'


';} $images=$row['images']; echo '
Cinque Terre
'; $categoryf=$row['pcategory']; $des=$row['des']; //echo '

'.$row['title'].'

'; ?> '.$des.'
'; endforeach; ?>