What Is Connection Variables In JohnCms
$conn ??
JohnWar.Ga
What exactly do you mean?
raktim, look at incfiles/db. php
I Did It
Actually In Tutorial I Found
That A Connection Variable Used To
Connect Query ....
But
<?php
$req = mysql_query("SELECT * FROM `guest`
ORDER BY `id` DESC
LIMIT 0 , 5");
$total = mysql_result(mysql_query("SELECT COUNT(*) FROM `guest`"), 0);
echo '<div class="phdr">' . $lng['guestbook'] . '</div>';
if ($total > 0) {
while($res = mysql_fetch_array($req)) {
echo '<div class="list1"><img src="/images/op.gif" /> <b>' . $res["name"]. '</b> : ' . $res["text"]. '</div>';
}
}
else {
echo '<div class="menu"><p>' . $lng['guestbook_empty'] . '</p></div>';
}
?>