Question:

How to insert mutiple values in single field using php and mysql?

by  |  earlier

0 LIKES UnLike

i have table called teamplayers. Its fields are tid,uid,pid. tid uid values are unique but will have multiple pid I want output like this in my table

tid uid pid

01 01 0001 0002 0003 00004

02 02 0006 0009 0013 00015

 Tags:

   Report

2 ANSWERS


  1. Greetings.

    You clearly do not understand the concept of relational databases. I would suggest you either take a crash course starting from Wikipedia, or get yourself a DBA or consultant.


  2. You need to parse or break the input value in to your desired number of characters. Look up for String Manipulation functions in PHP if your input values are strings. The same functions are available in Javascript as well.

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.
Unanswered Questions