I think its a bit of a simple one really but im a PHP newbie. Im trying to put a space in between the output values (shown below) and I thought the ." ". in the middle would solve this problem, but it turns out not; and im pulling my hair out. The code I have for output reads:
Code: Select all
while ($row = mysql_fetch_array($result)) {
echo " ".$row{'subject'}." ".$row{'data'}."<br>";"Subject Data"
I want to put more spaces in between these two values, e.g. "Subject _________ Data" (obviously without the _)
Could anybody please help me?
Cheers,
Joe