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
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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.