473,387 Members | 1,673 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

How i assigned to key of table other table and return that

132 100+
Hi,

I have this script :

Expand|Select|Wrap|Line Numbers
  1.   $processsyntheseinfos=array();
  2.         foreach($annuaireId as $annuaireId_index=>$annuaireIdvalue){
  3.  
  4.  
  5.  
  6.         $processsyntheseinfos[]=$imprimTools->getProcessSyntheseInfos ($annuaireIdvalue); 
  7.  
  8.  
  9.  
  10.         }//END foreach the tab annuaire
  11.         echo ' process Synthese' . var_dump ($processsyntheseinfos);
  12.         die();
when i var_dumped the $processsyntheseinfos i get that :
Expand|Select|Wrap|Line Numbers
  1. array (size=10)
  2.   0 => 
  3.     array (size=1)
  4.       0 => 
  5.         array (size=68)
  6.           0 => string '938' (length=3)
  7.           'fiche_id' => string '938' (length=3)
  8.           1 => string '4507' (length=4)
  9.           'annuaire_id' => string '4507' (
how can i get just this index of array 10 get the value array with out much index 0 inside 0 index

Thanks in advance
May 26 '16 #1
1 1883
Dormilich
8,658 Expert Mod 8TB
Expand|Select|Wrap|Line Numbers
  1. $processsyntheseinfos = $processsyntheseinfos[0][0];
May 27 '16 #2

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

Similar topics

2
by: Ittay Freiman | last post by:
i cannot set auto_increment to start from anything other than 1: mysql> create table test (id int unsigned not null auto_increment primary key); mysql> alter table test auto_increment=2; ...
1
by: steve stevo | last post by:
I need to access a table and return 3 values from it in the same recordset - ie one iteration of the recordset will have 3 values from the same database, I have looked at sub queries but they dont...
1
by: boonkit | last post by:
I try to get better performance by implementing this: http://dev.mysql.com/doc/mysql/en/alter-table.html "ORDER BY allows you to create the new table with the rows in a specific order. Note...
2
by: Chris Becker | last post by:
I have the following query: SELECT Month, Sum(Hits) AS Hits FROM tblHits GROUP BY Month ORDER BY Month Unfortunately it only returns rows for months that have data assigned to them. How...
4
by: Onion | last post by:
This has to be simple, but I'm forced to admit that I'm a novice who can't figure it out. I have a listbox in a form that allows multiple selections. That works fine. The problem: I can't...
2
by: Ceri | last post by:
I am running an ASP.Net project that runs 30 lengthy SQL Stored Procedures (each takes around 20 seconds to complete). As each Stored Procedure completes, I want to indicate in a table cell that it...
1
by: Sandesh | last post by:
Hello All, I have a scenario in which my stored procedure has to return few variables with their value and also the collection. Now in SQL their is no such as array, so the best is to return the...
1
by: btoussaint | last post by:
We have two tables in that control some different data. Table one is dbo_ProductModel. Table two is dbo_CustomerInformation. Table three is dbo_WebInformation. I created the form from the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.