i have 2 tables, T1 has attributes for form as name,address,rating with its corresponding control type as text,textarea,integer respectively.
In another table T2,i store value from form and has columns valuechar,valuetext,valueint into which value of name,address and rating is saved in different rows for a single form.Now I want to make query and result the following result from the above two tables.
array(
[name]=>value from valuechar
[address]=>value from valuetext
[rating]=>value from valueint
)
how do i do this effectively.
Why don’t you make one table and make those 3 fields?
Anyways; if the results are exactly the same you can do something like this:
Give me a little more information about what you are trying to achieve and maby we can work something out!