I have a row called info-body.
This row contains information split up in different lines, example:
Font-Family
Font-Weight
Font-Color
Street
City
$Background-Color
$Phone-number
Now, I can echo the whole row and its then all of the info is output. But what do I need to do to echo (or fetch) only the lines that do NOT start with $ (alternatively ONLY the first 5 rows) So that when I echo the row it just outputs:
Font-Family
Font-Weight
Font-Color
Street
City
Right now I am using this too echo the whole row:
<?php $sql="SELECT * FROM info WHERE info=\"".$info."\" AND page LIKE \"info-body\";"; require("connect.php"); for ($i=0;$i