Мне нужно достичь двух целей с помощью моего PHP для публикации кода. Пожалуйста, помогите мне достичь их [закрыто]Php

Кемеровские программисты php общаются здесь
Ответить Пред. темаСлед. тема
Anonymous
 Мне нужно достичь двух целей с помощью моего PHP для публикации кода. Пожалуйста, помогите мне достичь их [закрыто]

Сообщение Anonymous »


Okay, I am back with my code reworked from the last time. I want to display error handling messages on my webpage. I have gotten that to work now, but my dilemma is that I want more than one error message to display as needed. Currently I only receive one error message on screen at a time.

Secondly, once all errors are corrected, I need this form to successfully be submitted to my email. Upon a successful submission, I would like the code to redirect to my "successful_submission.html" document. Please help me achieve these goals.

I have two documents with php code. The first is my main form page "contact.php", this is where the code for my error messages are located. The second page which is linked via is "formtoemail.php", this is where the validation and what to do php is stored.

I need to be careful with my code because PHP is not kind when it comes to syntax errors, I am learning. I run into a lot of them lately.

Here is the full code:

contact.php code

Contact

Источник: https://stackoverflow.com/questions/781 ... -me-achiev
Реклама
Ответить Пред. темаСлед. тема

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

  • Похожие темы
    Ответы
    Просмотры
    Последнее сообщение

Вернуться в «Php»