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? Quote Link to comment 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'])); Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.