473,549 Members | 2,682 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How can i put the result in table

132 New Member
I have this code
Expand|Select|Wrap|Line Numbers
  1. foreach($GetJobResult->Components->Component as $component_index=>$component) {
  2.                     $quote_title= ($component_index+1).') '.$component->Title."\n";
  3.                     //var_dump($component_index+1);
  4.                     //die();
  5.  
  6.                     if(isset($component->Paper->Family)) {
  7.                         if(isset($component->Paper->Type) && isset($component->Paper->Color)) {
  8.  
  9.  
  10.                             $getPaperInfoResult=$ws->getPaperInfo($component->Paper->Family,$component->Paper->Type);
  11.  
  12.                             $quote_desc = $getPaperInfoResult->PapFamType[$component_index+1]->Lfam.' - '.$getPaperInfoResult->PapFamType[$component_index+1]->Lcoul.' - '.$getPaperInfoResult->PapFamType[$component_index+1]-> Gramm.' g/m2'."\n";
  13.                             var_dump($quote_desc); 
  14.                         }
  15.                     }
  16.                 }
and how to put the result of $quote_desc on table with index

Thanks in advance
Jun 8 '15 #1
0 1063

Sign in to post your reply or Sign up for a free account.

Similar topics

2
8551
by: Felix | last post by:
Hi, I've a problem: I want to have the result of my Mysql Query in a Table in my php file. Now I've this: <?
3
1626
by: Margo | last post by:
Hi there I am fairly new to php & MySQL. I have been trying to set up a query and limit the result 12 records per page - 2 columns by 6 rows. Each record contains various fields. I have been writing the code as Dreamweaver didn't like my select statement and didn't like the 2 columns thing! development page ...
2
10506
by: hubert.trzewik | last post by:
Hello, Is it possible to EXEC stored procedure from a query? I want to execute stored procedure for every line of SELECT result table. I guess it's possible with cursors, but maybe it's possible to make it easier. Give an example, please.
5
1370
by: AFN | last post by:
Hi. I'm pretty comfortable binding a single recordset result to a datagrid. But now I have a more unique problem. I have 2 really long stored procedures that cannot be combined at the SQL Server level (please don't ask why, but it can't, and even if I could, it would take 10x longer because they are very involved queries). But I need to...
9
2784
by: Dejan | last post by:
Hy, Sorry for my terreble english I have this simple code for deleting rows in mysql table... Everything works fine with it. So, what do i wanna do...: my sql table looks something like this: id Name Surname pictr0 picrt1 pictr2 pictr3
1
2582
by: RookieDan | last post by:
Greetings fellow Accessers! Im new but in Access, but I have some background in different coding. I have a programme loading customer data into Access belonging to BMW dealers in Europe. Every dealer reports several customers and I have today a query that sorts out how many customer data each BMW dealer sends in to us. The query is also...
2
1579
by: prileep | last post by:
I have two tables Users and UserLogin. Here i will use two methods of table design. and which query will return me the result more fast. The table size will be large that it may contain records in lakhs. Method 1: Tables: Users ( UserID varchar(20) primary key, PassWord varchar(20)) UsersLogin(UserID varchar(20),LoginDate DateTime) Query:...
2
1185
by: Matsam | last post by:
Hi, I am using ADO record set and want to display a string field in one of the columns of the table in the result page. But it is displaying unwanted line breaks, even if that column has necessary width. For eg. JOHN K. SMITH is displayed as
2
1586
by: nikolasapl | last post by:
Is there a command so that instead of displaying the result table (for example the result of the following query) in the grid tab in the SQL Server Analyzer environment, to export it into an .xls file (excel file)? select * from table1 Many thanks.
1
1720
by: marinas908 | last post by:
I am declaring a cursor with union on two similar tables, during fetch i use 1st table dclgen and fetch into those columns. My result table is a correct union of two tables. The problem is the first table represents billed transactions and the second table represents the unbilled transactions. When I process my fetched row I need to know from what...
0
7450
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
1
7470
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7809
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6043
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5368
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5088
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
1941
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1059
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
763
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.