Jump to content

Concatenation problem I think...


me1000

Recommended Posts

array_push($arrayAlpha,array('Name'=>$Row['name']." ".$Row['name']);

 

That isnt all the code but it is what is causing the problem,

 

any time I add a 2nd $Row variable it causing nothing to display. As long as there is only one (regardless of which one it is, for example it could be $Row['id'] or $Row['content'] ) it displays fine, the code I posted above is calling the same variable $Row['name'] however it doesnt display, but if I used

 

array_push($arrayAlpha,array('Name'=>$Row['name']." ");

 

it would work, even with the space after it.

 

 

Any ideas how to fix this?

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/95014-concatenation-problem-i-think/
Share on other sites

nope it doesnt, it is basically what I already posted; I just forgot to add the last ) at the end when i removed a good portion of the array.

 

 

EDIT: nevermind, I think the problem was that the table wasnt long enough.

so the library I am using to create the pdf just hides it.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.