What is wrong with this function?
function storyid($sql) {
$result = mysql_query($sql);
return $result;
}
$sql = "SELECT max(id)+1 FROM stories";
$result = mysql_query($sql);
It gives me this error:
Warning: Missing argument 1 for storyid() in /projects/sunarchive/htdocs_0_10/up-budget-2.php on line 51