如何在文本框中键入泰米尔字体并将其保存在MySql中 [英] How to type Tamil font in text box and save it in MySql

查看:85
本文介绍了如何在文本框中键入泰米尔字体并将其保存在MySql中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在用PHP开发一个小型Web应用程序.我希望用户或管理员在文本框或textarea中键入泰米尔语并将其保存在MySql中.请给我一些最简单的方法.

解决方案

Vinoth,要允许用户在您的网站上输入泰米尔语,您可能需要查看 tamilsg api

用法:复制并复制将以下内容粘贴到您的php网站的body标签中的任意位置,并将textareaid替换为适当的textarea id.

<script type="text/javascript">
var poplo =new Array("textareaid");
ENABLED_TIWEB = "http://api.tamilsg.com/data/lookuptable.js";
var fileref = document.createElement('script');
fileref.src = "http://api.tamilsg.com/hplus.js";
document.documentElement.appendChild(fileref);
</script>

Im developing a small web application in PHP. I want, user or admin to type tamil language in text box or textarea and save it in MySql. Please give me some easiest method to do so.

解决方案

Vinoth, to allow a user to type in tamil on your website you might want to take a look at the tamilsg api

Usage: Copy & paste the following anywhere in the body tag of your php website and replace textareaid with the appropriate textarea id.

<script type="text/javascript">
var poplo =new Array("textareaid");
ENABLED_TIWEB = "http://api.tamilsg.com/data/lookuptable.js";
var fileref = document.createElement('script');
fileref.src = "http://api.tamilsg.com/hplus.js";
document.documentElement.appendChild(fileref);
</script>

这篇关于如何在文本框中键入泰米尔字体并将其保存在MySql中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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