Solved

get the data all row not only one row php

Posted on 2016-10-26
4
35 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 51

Accepted Solution

by:
Julian Hansen earned 500 total points
Comment Utility
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 108

Expert Comment

by:Ray Paseur
Comment Utility
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
Comment Utility
Hi  Ray Paseur

I use scriptcase  

thank you for help me many time
0
 
LVL 51

Expert Comment

by:Julian Hansen
Comment Utility
You are welcome
0

Featured Post

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

Suggested Solutions

These days socially coordinated efforts have turned into a critical requirement for enterprises.
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Steps to create a PostgreSQL RDS instance in the Amazon cloud. We will cover some of the default settings and show how to connect to the instance once it is up and running.
The viewer will learn how to count occurrences of each item in an array.

743 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now