这会被归类为什么,搜索、登录还是其他什么?

发布于 2024-07-23 23:49:47 字数 185 浏览 3 评论 0原文

一位客户问我一些我以前从未真正遇到过的问题,想知道是否有人可以为我对其进行分类,以便我能够弄清楚如何设计它。

基本上,他们想要一个用户在其中输入代码的框,该代码的第一部分将确定他们随后被发送到哪个页面。 该页面不会有搜索结果,我将其视为带有链接的按钮的更复杂版本。

请问你能帮忙吗?

非常感谢

I have been asked by a client something I have never really come across before and wondered if anyone could classify it for me, so that I can work out how to design it.

Basically they would like a box in which the user types in a code, the first part of this code will determine which page they are then sent to. This page will not have search results, I see it as a more complicated version of a button with a link.

Please could you help?

Many thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

临走之时 2024-07-30 23:49:47

您可以将其实现为表搜索。 假设表格类似于:

{"133"=>1, "147"=>1, "158"=>2, "342"=>3}

这样代码 133 将用户发送到页面 1,代码 147 - 也发送到页面 1,代码 158 发送到页面 2 等。您的程序将需要提取代码(例如从文本框中提取代码) ),在表中查找,并将用户发送到正确的页面。

这在本质上与调度表类似。 如果您指定首选编程语言,我也许能够找到更具体的信息。

You may implement this as a table search. Say the table is something like:

{"133"=>1, "147"=>1, "158"=>2, "342"=>3}

So that the code 133 sends the user to page 1, the code 147 - also to page 1, the code 158 to page 2 etc. Your program will need to extract the code (say from a text box), look it up in the table, and send the user to the proper page.

This is similar in spirit to a Dispatch Table. If you specify a preferred programming language, I may be able to find more specific information.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文