Hi
sorry for repeating my problem๐๐๐ there was no response to my question then i think that i must create a new topic with appropriate head.
this is my code in body area
my problem is that if statement doesn't work .I mean when I echo $host variable it changes in every record in output but it doesn't execute php code inside if statement.
I can do this with CF very easily but because i have many records in DB i need CC pagination to limit output.triumph, do boi, winny, thoi trang be gai, xe day tre em, do dung cao cap cho be, thoi trang cong so, vay lien cong so, ban buon quan ao, do lot[/url]
anyway can i use some kind of pagination in CF?๐คจ
sorry for repeating my problem๐๐๐ there was no response to my question then i think that i must create a new topic with appropriate head.
this is my code in body area
<tr dir='ltr'>
<td>{cat}</td>
<td>{recordtime}</td>
<td>{game}</td>
<td>
<?php
$host="{HG}";
echo $host;
if ($host=2)
echo 'hi';
elseif ($hoost=1)
echo 'bye';
?>
</td>
<td>{tip}</td>
<td>{win}</td>
<td>{loss}</td>
<td>{ex1}</td>
<td>{odd}</td>
<td>
<?php
$tip='{tip}';
echo $tip;
if ( $tip=='ft' || $tip=='Over/Under')
{
echo '{ftga}-{ftgb}';
} else {
echo '{htga}-{htgb}';
}
?>
</td>
<td>{stats}</td>
</tr>
my problem is that if statement doesn't work .I mean when I echo $host variable it changes in every record in output but it doesn't execute php code inside if statement.
I can do this with CF very easily but because i have many records in DB i need CC pagination to limit output.triumph, do boi, winny, thoi trang be gai, xe day tre em, do dung cao cap cho be, thoi trang cong so, vay lien cong so, ban buon quan ao, do lot[/url]
anyway can i use some kind of pagination in CF?๐คจ