如何从db获取数据值到rb&勒伯 [英] how to fetch data value from db to rb & leble

查看:74
本文介绍了如何从db获取数据值到rb&勒伯的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我正在做在线apti测试项目.但是可能是,当我从数据库中获取数据时,然后单击下一步按钮时,它将可以使用相同的选项回答相同的问题.朋友你能帮我吗?当我单击下一步按钮时,如何从数据库获取问题.请其紧急

Hi,
I have doing online apti test proj . but prob is that when I''m fetching the data from the db then it will ok bit after that when I''m clicking on the next button it will reply the same question with same option. Friends can you help me? How can I fetch the question from db when I''m click on the next button. Please its urgent

推荐答案

首先获取一个count变量,然后单击next按钮将其递增.基于计数变量值从数据库表中检索数据
first take one count variable and increment it when you click on next button . based on count variable value retrieve the data from the database table


这篇关于如何从db获取数据值到rb&勒伯的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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