EEfaq论坛-赚客自留地

 找回密码
 免费注册
查看: 2040|回复: 8

我建了一个landingpage,但不知道怎么用数据库

  [复制链接]
发表于 2011-8-14 16:52:52 | 显示全部楼层 |阅读模式
2e币
我建了个 zip提交的landingpage,用的是一个模板,现在自己在机子上测试,把数据库链接了下,但是貌似没用,点击submit按钮,仍然没有任何反应。原网址是http://localhost/freeoffer/index.htm 点击后 是 http://localhost/freeoffer/index.htm#  请教懂php和mysql的高手

发表于 2011-8-14 22:29:37 | 显示全部楼层
静态页面怎么调用数据库哇?
回复

使用道具 举报

 楼主| 发表于 2011-8-15 20:21:03 | 显示全部楼层
回复

使用道具 举报

发表于 2011-8-16 08:00:40 | 显示全部楼层
不是静态页面,是邮件地址提交的类型,只是我不知道怎么弄数据库
longlin888 发表于 2011-8-15 20:21



    没具体搞过~~不适合帖子说的可以短消息我~~
回复

使用道具 举报

 楼主| 发表于 2011-8-16 08:14:27 | 显示全部楼层
本帖最后由 longlin888 于 2011-8-16 08:16 编辑
没具体搞过~~不适合帖子说的可以短消息我~~
嗯嗯 发表于 2011-8-16 08:00


好的
未命名.jpg
回复

使用道具 举报

 楼主| 发表于 2011-8-17 00:01:14 | 显示全部楼层
问题都解决了,但是上传网站 ,打开后出现

Warning: mysql_pconnect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/c31/1keywordsfinder.com/freevacation/Connections/freevacation.php on line 9 Fatal error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/c31/1keywordsfinder.com/freevacation/Connections/freevacation.php on line 9
回复

使用道具 举报

发表于 2012-9-28 10:56:19 | 显示全部楼层
mysql 设置问题
回复

使用道具 举报

头像被屏蔽
发表于 2012-11-12 13:14:04 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

发表于 2012-11-29 13:40:01 | 显示全部楼层
很简单的问题
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 免费注册

本版积分规则

QQ|联系我们|Archiver|手机版|小黑屋|EEfaq论坛

GMT+8, 2024-6-27 04:49

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表