Page 1 of 1

Send info

Posted: Sat Sep 25, 2004 12:59 pm
by ofi
Hi
I am learning php, new in this, i am trying to make simple guestbook see link form.
http://www.koddinn.com/nybok/skra.php

Code: Select all

<!doctype html public "-//W3C//DTD HTML 4.0 //EN">
<html>
<head>
       <title></title>
</head>
<body>
<form method="POST" name="guestform" action="gestabok.php">
  <!--webbot bot="SaveResults" U-File="_private/form_guest.txt" S-Format="TEXT/CSV" S-Label-Fields="TRUE" B-Reverse-Chronology="FALSE" U-File="guestbookresults.htm" S-Format="HTML/BR" S-Label-Fields="TRUE" B-Reverse-Chronology="TRUE" S-Email-Format="TEXT/PRE" S-Email-Address="guestform@cameronpub.com" B-Email-Label-Fields="TRUE" S-Builtin-Fields="Date Time REMOTE_NAME REMOTE_USER HTTP_USER_AGENT" startspan --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><!--webbot bot="SaveResults" endspan i-checksum="43374" -->
    <table border="0" width="32%">
    <tr>
      <td width="20%"><font color="#666666">Nafn:</font></td>
      <td width="55%"><input type="text" name="Name" size="20"></td>
    </tr>
    <tr>
      <td width="20%"><font color="#666666">Netfang:</font></td>
      <td width="55%"><input type="text" name="Title" size="20"></td>
    </tr>
    <tr>
      <td width="20%"><font color="#666666">Vefsíða:</font></td>
      <td width="55%"><input type="text" name="CompanyName" size="20"></td>
    </tr>
    </table>
    <table border="0" width="32%" id="table1">
    <tr>
      <td width="20%"><font color="#666666">Umsögn:</font></td>
      <td width="49%">&nbsp;</td>
    </tr>
    </table>
  <p><textarea rows="5" name="Comments" cols="26"></textarea></p>
  <p><INPUT TYPE=submit VALUE="Senda!">
<INPUT TYPE=reset VALUE="Hreinsa!"></p>
</form>
</body>
</html>
"How" can i send it to another php file and print infos there

I have try too search, witout of luck


feyd | added the actual code, so no one has to go out and look at it

Posted: Sat Sep 25, 2004 1:12 pm
by feyd

Code: Select all

&lt;?php

var_export($_POST);

?&gt;
that'll show you all the information posted. If you don't understand arrays, I'd start learning from there by reading the manual pages on arrays.