Is it possible to run a function at was declared in an include?
The function called scanMsg is declared in one file, and this file is included from another one. One of the function parameters is given from MySQL, is this code I'm using here OK?
PHP Code:
<?php
include("http://www.##########################-msg.php"); // Function declared in here
$tid = mysql_result(mysql_query("SELECT tid FROM table WHERE id = $uid LIMIT 1;"),0,0);
scanMsg($msg,$tid,"Sky High Chat");
?>
The variable $uid is declared earier in the file.
Whats wrong with this?
- Mark