Jump to content

help with a simple ARRAY


scripterdx

Recommended Posts

i know that was a query, i´m asking for some help and ideas to, make that results like this ID 1 email s@s.com widget 1,2,3,4,5,6 etc

 

instead of

 

id 1 email s@s.com wiget 1

id 2                      wiget 2

id 3                      wiget 3

 

Not sure I get you. Code examples of what you've already got and/or a better idea of what you are trying to accomplish would be useful. Because it looks to me that you have an issue with how your database table is setup?!?

Link to comment
Share on other sites

it´s the data base it´s fine, i got a table that gets all the user activity, so there´s a product whit am id then i select that product to be on my list, so i get this query SELECT `producto` FROM `usuarios_actividad` WHERE `id_usuario`=1207 AND `lista`=1 and i want to copy the product id to the user table, so i can make an unique list for each of my 3000 members, te ideal result is

 

ID USER        WIDGET                DATE

1  s@w.com    234,34,54,35          date

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.