Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 88
  • Last Modified:

concat in .php

i have this

echo "<td width='30%'>$results[CCDDESART]</td>";

this is the result: COLORANTE PARA PET GRADO BOTELLA COLOR PLATA 472-10029-1 (EX LN-539)

i have this variable: $results[UNIDAD]
i need concat COLORANTE PARA PET GRADO BOTELLA COLOR PLATA 472-10029-1 (EX LN-539).
with
La unidad de medida es: $results[UNIDAD]
0
enrique_aeo
Asked:
enrique_aeo
  • 2
1 Solution
 
Dillyn BarberChief Information Officer (CIO)Commented:
Try something like $result = $data1 . ' ' . $data2; It's very hard to tell without seeing all of your code.
0
 
enrique_aeoAuthor Commented:
i can not work

echo "<td width='30%'>".$results[CCDDESART]. ' LA UNIDAD DE MEDIDA ES: ' . $results[UNIDAD]</td>";
0
 
enrique_aeoAuthor Commented:
echo "<td width='30%'>".$results[CCDDESART]. ' LA UNIDAD DE MEDIDA ES: ' . $results[UNIDAD]."</td>";
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now