I tried both ways and it didn't work.
* <form id="emailtest" title="Test Email" class="panel" name="My Form"
action="./myform.php" method="POST">*
and*
<form id="emailtest" title="Test Email" class="panel" name="My Form"
action="/shaw/myform.php" method="POST">*
Any other suggestions?
On Monday, February 25, 2013 12:44:29 PM UTC-8, Henrique Luis de Souza
wrote:
>
> Hi,
>
> Your path to action is the problem:
>
> try
>
> action="/shaw/myform.php"
>
> or
>
> action="./myform.php"
>
> =)
>
> 2013/2/25 Alex Larente <[email protected] <javascript:>>
>
>> I'm fairly new to PHP and iui and i've managed to get stuck.
>>
>> When the form submits, it doesn't properly open up myform.php
>> I think something is blocking the way when it tries to submit.
>>
>> The form is located at:
>> *http://alexlarente.com/shaw/ShawLinks.html#_testemail*
>>
>> but when I click submit it goes to a blank page at:
>> *http://alexlarente.com/shaw/ShawLinks.html#___2__*
>>
>> How do I try to fix this?
>> *
>> This is my HTML*
>> <!-- Testing sending a customer an email -->
>> <ul id="testemail" title="Email Customer">
>> <form id="emailtest" title="Test Email" class="panel" name="My Form"
>> action="myform.php" method="POST">
>>
>> <fieldset>
>> <div class="row">
>> <label>CX Email</label>
>> <input type="text" name="cxemail" >
>> </div>
>> <div class="row">
>> <label>Tech ID</label>
>> <input type="text" name="techid" >
>> </div>
>> </fieldset>
>> <input type="submit" class="whiteButton" >
>>
>> </form>
>> </ul>
>>
>> *This is my php file*
>>
>> <html>
>> <body>
>>
>> The customers email is <?php echo $_POST["cxemail"]; ?>! <br>
>> You are tech number <?php echo $_POST["techid"]; ?>.
>>
>> </body>
>> </html>
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "iPhoneWebDev" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected]<javascript:>
>> .
>> Visit this group at http://groups.google.com/group/iphonewebdev?hl=en.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>
--
You received this message because you are subscribed to the Google Groups
"iPhoneWebDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/iphonewebdev?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.