hi, how we can get more than one line in mysql query using sc_lookup?
example
sc_lookup(dataset, "SELECT count(id), user FROM table WHERE...etc");
Now i have 5 lines as results like
{field}={dataset[0][0]}.’ user '.{dataset[0][1]}; through {dataset[5][1]}…
I want to have this:
{field}={dataset[0][0]}.’ user ‘.{dataset[0][1]} .’<br>’.
{dataset[1][0]}.’ user ‘.{dataset[1][1]}; .’<br>’.
{dataset[2][0]}.’ user ‘.{dataset[2][1]}; .’<br>’.
{dataset[3][0]}.’ user ‘.{dataset[3][1]}; .’<br>’.
{dataset[4][0]}.’ user ‘.{dataset[4][1]}; .’<br>’.;
without having to write all that, should i use foreach? and how?
