Forum Moderators: coopster
do you mean something like this:
include("include_file.php");
I don't know if this is what you mean
header("Location: news_admin_php.php"); /* Redirect browser */
here is my coding (internal function of news_add.php):
...
function newsdelete($id) {
$db = new Database("MyDB");
$rs=$db->executeQuery("DELETE FROM news
WHERE newsid=$id;");;
$id="";
---->> NOW I want to call the php-file "news_admin.php"
exit;
}
...
I put "header" line in my script, but got an error:
Warning: Cannot modify header information - headers already sent by (output started at ...\news\news_add.php:13) in ...news\news_add.php on line 275
i'm not much of a javascript thinker but i was just starting to think about that...sorry i couldn't help sooner