I have tried to call the function using:
include "viewtable.php";
$table = 'artist';
$default_sort = 'artist_id';
$allowed_order = array ('artist_id', 'artist_name','artist_notes');
viewtable ($table, $default_sort, $allowed_order);
?>
with the function defined as:
Function viewtable($table,$default_sort,$allowed_order)
{
in viewtable.php
but i get a 'call to undefined function' error.
Any help would be greatly appreciated.