hi there i am setting up a simple html php form. the php is:
<?php
$name = $_POST["name"];
$email = $_POST["email"];
$devices = $_POST["devices"];
$games = $_POST["games"];
$apps =$_POST["apps"];
$beta = $_POST["beta"];
$stuff = array();
//($stuff, "<html>", "name=", $name, "<br />",
array_push($stuff, "<html>", $name, "<br />", $email, "<br />", $devices, "<br />", $games, "<br />", $apps , "<br />", $beta, "</ html>);
mail ( "[email protected]", "Add me to the mailing listt!!!", $stuff);
and i get
Parse error: syntax error, unexpected T_STRING in /home/nickp/public_html/email/form.php on line 12
any ideas?
array_push
syntax – Rafee Dec 20 '12 at 9:13