me1000 Posted March 8, 2008 Share Posted March 8, 2008 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 More sharing options...
Stooney Posted March 8, 2008 Share Posted March 8, 2008 Try this, it works fine for me: array_push($arrayAlpha,array('Name'=>$Row['name'].' '.$Row['name'])); Link to comment https://forums.phpfreaks.com/topic/95014-concatenation-problem-i-think/#findComment-486697 Share on other sites More sharing options...
me1000 Posted March 8, 2008 Author Share Posted March 8, 2008 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. Link to comment https://forums.phpfreaks.com/topic/95014-concatenation-problem-i-think/#findComment-487018 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.