自动生成 [英] Auto Generation

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

问题描述

在我的在线办公室管理" PHP项目中,我使用申请表来添加学生注册.
在这种情况下,我使用学生卷号作为他们的ID.为此,当文本框中同时包含字符串和整数(例如:A1001)时,我想自动生成一个数字."

请给我解决方法吗?并在此先感谢.

In my ''online office management" PHP project, I use an application form to add student registration.
In that I use student roll number as their id. For that I want to generate a number automatically, when it has both string and integer(Ex: A1001)in a textbox."

Please give me the solution? And Thanks in Advance.

推荐答案

请参考链接
http://www.webmaster-talk.com/php- Forum/29621-php-randomly-generate-alphanumeric-charachters.html [
Please refer to link
http://www.webmaster-talk.com/php-forum/29621-php-randomly-generate-alphanumeric-charachters.html[^] :thumbsup:


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

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