PHP表单帮助! [英] PHP Form Help!

查看:43
本文介绍了PHP表单帮助!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有这个表单设置,允许客户填写一些信息并发送电子邮件给他们有问题的特定部门。由于某种原因,我无法让它工作,并进一步玩它我得到一个HTTP 500 IS错误,它甚至无法加载页面。请帮忙!哦,我从这个帖子的电子邮件中删除了@ addres。我知道他们不在那里。

I have this form setup to allow customers to fill in a little info and send an email to particular departments that they have their questions in. For some reason I cannot get it to work and in further playing around with it I get an HTTP 500 IS Error and it won''t even load the page. Please help! Oh and I took the @ addres off the emails for this post. I know they''re not there.

展开 | 选择 | Wrap | 行号

推荐答案

嗨Nyris,

Hi Nyris,


email_to =" name"," name2" ;;可能会抛出一个错误。如果你想连接两个字符串,请使用点运算符(参见 PHP:字符串 - 手册


还有一件事:


为了我们的专家和您自己的利益,这是一个所有用户都使用的发布指南发布代码时的[code]标签。这使代码更容易阅读,反过来,帮助我们的专家回答您的问题。


一个简单的方法是突出显示textarea中的代码,然后点击' textarea顶部的#按钮。


请阅读发布指南,以便您更熟悉工作原理。


问候
email_to = "name", "name2"; will probably throw an error. if you meant to concatenate the two strings, use the dot operator (see PHP: Strings - Manual)

and one more thing:

For the benefit of our experts and yourself, it is a posting guidelines that all users use [code] tags when posting code. This makes the code easier to read and, in turn, helps our experts answer your questions.

An easy way to do this is to highlight the code in the textarea and then hit the ''#'' button at the top of the textarea.

Please read the Posting Guidlines so you''re more familiar with how things work.

regards


@Dormilich


这听起来很熟悉:P


是的,Nyris,请使用[code]标签。


主持人。
@Dormilich
That sounds familiar :P

Yes, Nyris, please do use [code] tags.

Moderator.


这篇关于PHP表单帮助!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆