如何使用两种不同的数据类型时间和文本创建动态输入值并插入到一个列中

how to create Dynamic Input value with two different datatype time and text and insert into one single column

我有动态输入框,带有时间输入文本输入我想显示作为列表项并且还想在SQL

中table的一列中插入值

示例:

How to add multiple input for list item with two different datatype time and text ??

你正在进入复杂的代码,制作两个不同的 Varible/text Input/columns

如果您仍想使用它们,请在两者之间添加一些东西并使用 Sting 函数,例如:strlen() / stripos() / stristr() ---- 在代码中使用它时创建两个不同的变量

示例值 [startTime09.30 PM - ReachTime 10.00AM]

获取文本的长度 strlen() [44Charecters] >> 找到“-”的位置 stripos("-")[第 23 个位置] >> 切掉字符串的左边部分并将其存储在变量中对剩余的部分做同样的事情