Jump to content

msd

Members
  • Posts

    57
  • Joined

  • Last visited

Everything posted by msd

  1. Take a look here: http://www.php.net/language.variables.variable
  2. msd

    PHP Form/Database/Mail help

    A faster way is to add ob_start(); on the first line of your file, but I strongly recommend using justsomeguy's method.
  3. msd

    Variable issues

    And the headers should be more specific: $headers = "MIME-Version: 1.0\r\n";$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";$headers .= "From: $from";
  4. ul{ list-style:none; margin:0; padding: 14px 0 0 315px;}li{ float:left; padding:0 5px 0 0; margin:0;}
  5. If you would like to make that script, you need: - 1 database (2 tables: users and notes) - a register/login system - a file which allows users to add/edit/view/delete notesIf you want to find it, try to search for a shout box script, it seems the most appropriately to your needs.
  6. Question 1: <form action="final_news.php" method="post"><input type="submit" value="submit" name="submit"><input type="button" value="go to another link" name="button" onclick="java script:window.location='your_link';"></form> Question 2:I advise you to use a CSS class for your table.
  7. <?$phpVar = "php to js";print "<script type=\"text/javascript\">\n";print "var jsVar = '".$phpVar."';\n";print "alert(jsVar);\n";print "</script>";?>
×
×
  • Create New...