借助html表单和perl脚本将数据插入到mysql表中 [英] insert data into mysql table by the help of html form and perl script

查看:82
本文介绍了借助html表单和perl脚本将数据插入到mysql表中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


我想通过html页面插入数据。所以为此,我创建了两个文件,一个用于html页面(insertdis.html),第二个用于perl脚本(insert1.pl)。但它无法工作。在数据库中插入数据是否正确?

使用PERL-CGI的另一种选择但我不知道这种语言所以请帮助我。


谢谢!

insert1.pl

Hello,

I want to insert data through html page. So for that I created two file one is for html page(insertdis.html) and second one is for perl script(insert1.pl).But it could not work. Is it correct way for inserting data in database?
Another option of using PERL-CGI but I do not know about this language so please kindly help me.

Thanks!
insert1.pl

展开 | 选择 | Wrap | 行号

推荐答案

展开 | 选择 | Wrap | 行号


展开 | 选择 | Wrap | 行号


第19行和第20行仍有语法问题。
Lines 19 and 20 still have a syntax problem.


这篇关于借助html表单和perl脚本将数据插入到mysql表中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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