How can I get the value of this variable to output the value of each variable? I think I might be doing this completely (I know the code is wrong but should i be using an array?). Thanks.
I have 8 values in my page that are like this and the $t's go till 8.
Incorrect code:PHP Code:$t1 = "this";
$t2 = "that";
PHP Code:for ($i = 1; $i < $total +1; $i++) {
echo $t$total;
}



Reply With Quote

Bookmarks