Hi...
I need some help on how exactly to go about doing something.
Let's say I have the following variable:
$variable = "<font face=Arial size=2>Test</font>";
Now, I want to be able to display that variable as many times as I get a result from a mysql_num_row query.
So... lets say
// Create Query //
$sql = "SELECT * FROM table WHERE user_id = '1'";
$result = @mysql_query($sql, $connection) or die(mysql_error());
$num = mysql_num_rows($result);
and $num = "8".
So I'd want to somehow apply that "8" result to the "$variable" so that it displays on the page 8 times.
Is this possible?