[thelist] Plain Text Newsletter in PHP with Problems

Seyon evolt at delime.com
Thu Mar 18 13:43:12 CST 2004


Message from Rob Smith (3/18/2004 10:38 AM)
>Hiya,
>
>I'm trying to create a simple newsletter form in PHP and I'm running into a
>problem...
>
>First off there is a subject text field, a newsletter textarea field, a
>preview and submit button of which both are type="submit".
>
>The preview button is what I'm focusing on today. The form submits to a PHP
>page:
>
>if ($_GET["Preview"] == "Preview") {
>   header("Location: http://www.mysite.com/PreviewNewsletter.php?newsletter="
>. $_GET["newsletter"] ."&subject=" . $_GET["subject"]);

Why are you passing all this through the querystring instead of using POST 
anyways?

regards.
-marc

--
Trinidad Carnival in all its photographic glory. Playyuhself.com
http://www.playyuhself.com/


More information about the thelist mailing list