get the data all row not only one row php

sc_lookup(Dataset, "SELECT  tablename FROM pg_catalog.pg_tables
where schemaname = 'public'and tablename not like 'pong8%'") ;

{customer_id} = {Dataset[0][0]};

echo "{customer_id} " ;

Open in new window

This code work but how can I change it to print all customer not only first customer
Who is Participating?
Julian HansenConnect With a Mentor Commented:
It appears you are using ScriptCase

To iterate over the Dataset I am assuming you would do something like this
foreach({Dataset} as $row) {
   echo "Customer: {$row[0]}<br/>";

Open in new window

Ray PaseurCommented:
Is this a PHP application?  PHP variable names start with a dollar sign.  Or is there something else in play here that I am missing?
teeraAuthor Commented:
Hi  Ray Paseur

I use scriptcase  

thank you for help me many time
Julian HansenCommented:
You are welcome
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.