Solved

get the data all row not only one row php

Posted on 2016-10-26
4
61 Views
Last Modified: 2016-10-26
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
0
Comment
Question by:teera
  • 2
4 Comments
 
LVL 54

Accepted Solution

by:
Julian Hansen earned 500 total points
ID: 41859901
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

1
 
LVL 109

Expert Comment

by:Ray Paseur
ID: 41859930
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?
0
 

Author Comment

by:teera
ID: 41859985
Hi  Ray Paseur

I use scriptcase  

thank you for help me many time
0
 
LVL 54

Expert Comment

by:Julian Hansen
ID: 41860047
You are welcome
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question