Hello everybody, I'm using vb version 3.8
I wrote a tiny php script to query my vb database:
(example.php)
And now i want to use $tmp variable to insert into footer template.
Please help me. Thank you very much !
I wrote a tiny php script to query my vb database:
Code:
$query = "SELECT * FROM user WHERE id=10";
$result = mysql_query($query);
while($row = mysql_fetch_array($result))
{
$tmp = $row['username'];
}
(example.php)
And now i want to use $tmp variable to insert into footer template.
Please help me. Thank you very much !