1

I need to design database table for article reviews.

First way :

|id|name|email|date|ip|article_id|avatar|user_id|review_field_1|review_field_2|review_field_3|review_field_4|review_field_5|review_field_6|

result: using normal query

Second Way:

|id|article_id|serialize_data|

method: serialize / unserialize

OR:

|id|article_id|json_data|.

method: json_encode / json_decode

which way is better and faster ?!

2
  • Your answer can be found here stackoverflow.com/questions/1306740/… Commented Aug 18, 2015 at 4:32
  • It depends on how will you use that data later. Commented Aug 18, 2015 at 6:48

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.