What I have been trying to do is to have the data entered in a form be added to two pages, like say it creates a new page with content and also adds a link to the page to another page. Here is what I have been using to add data:
I am just not sure how to have it add different parts of the inputed data to two pages. I would appreciate any ideas. ThanksPHP Code:$add = '
<!-- Text Ad, Added '.$date.' -->
<a href="'.$link.'" target="_blank">'.$text.'</a>
<br />
';
$links = file_get_contents($filename).$add;
$file = @fopen($filename, "w");
@fwrite($file, $links);
@fclose($file);
$message = $success;
}
else {
$message = $add_error;
}



Reply With Quote
Bookmarks