Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 506 Vote(s) - 3.46 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to generate and save random variable names in Classic asp

#1
So i am working on a project where i get list of ID's and i have to execute 10 different queries for each id. Now the catch is that, we have a code written to manage it for one ID.
its like:

DBConnect accDB1,sql1,A
DBConnect accDB1,sql2,B
DBConnect accDB1,sql3,C
DBConnect accDB1,sql4,D
DBConnect accDB1,sql5,E

Now for N number of Id's I need some thing like



for(i=0;i<N;i++)
{
DBConnect accDB1,sql1,A //A0 for i=0, A1 for i=1....
DBConnect accDB1,sql2,B
DBConnect accDB1,sql3,C
DBConnect accDB1,sql4,D
DBConnect accDB1,sql5,E
}

Since first we are executing all queries for all ID's and then displaying every thing, i cant display it in loop.
What would be approach to solve this problem.
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through