bpakidz
New Member
- Messages
- 36
- Reaction score
- 0
- Points
- 0
Okay, so I was trying to get a form to send the results to me via email. Someone else had the same issue and was told that a php script would solve the issue. Fine, great... but I don't get how to use it in my situation. I wrote a script and called it HandleForm.php my trusty, dusty PHP book (Visual Quickstart Guide - PHP for the World Wide Web) shows how to do this. I uploaded the page with the form and the corrected action as well as the php page. But now... it doesn't work. I was getting the php page with no input but now, I get nothing.
I saw elsewhere where a member talked about phpMyAdmin. I went there on the cPanel, but it's all greek to me. Where can I get help with php and this phpMyAdmin application?
This is what I wrote. Can there only be one string/variable on a line? Is that part of my problem?
To see it in action (or not), the page is here.
I saw elsewhere where a member talked about phpMyAdmin. I went there on the cPanel, but it's all greek to me. Where can I get help with php and this phpMyAdmin application?
This is what I wrote. Can there only be one string/variable on a line? Is that part of my problem?
PHP:
<HTML>
<HEAD>
<TITLE>Form Resluts Page</TITLE>
<BODY leftmargin="10%" rightmargin="20%" bottommargin="25">
<?php
/* This page handles the received data from the form "bpaforms.html". */
print "Thank you for submitting your information, $First.<BR>\n";
print "We show your address as $Address \n";
print "in $City, $State $ZIP.<br>\n";
print "Your phone number is $phone \n";
print "and your e-mail address is $email.<BR>\n";
print "You have asked us to send you information about our schools for your child(ren),<BR>
$Child1, age $Age1 ($Sex1), $Child2, age $Age2 ($Sex2), $Child3, age $Age3 ($Sex3)<BR>\n";
?>
</BODY>
</HTML>
To see it in action (or not), the page is here.
Last edited: