Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,473
There are 2824 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     PHP and MySQL :

PHP serialize data case

Thread title: PHP serialize data case
     
    Thread tools Search this thread Display Modes  
Prev Previous Post   Next Post Next
06-08-2010, 01:50 PM
#1
ugniesdebesys is offline ugniesdebesys
Status: I'm new around here
Join date: Jun 2010
Location:
Expertise:
Software:
 
Posts: 1
iTrader: 0 / 0%
 

ugniesdebesys is on a distinguished road

  Old  PHP serialize data case

Hi
Problem is, what to do, if users data is unknown. I mean, different fields and difefrent amount of them are needed to log some events.
I can use serialization of data, using one column as comments. May I will use it, when i dont know ,either data will be important or not for future purposes, and variable (field) amount is not clear for different users.

I heard, that some persons are using two fields in tables: ID and DATA



and data contains all serialized variables- fields. Example in PHP can be found

PHO serialize example

I am not sure am i right. I am not sure about performanve of such method

Can somebody comment?

Best regards

Reply With Quote
     


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed