Re: search in serialized string
| From: | Rodrigo Peres | Date: | Mon, 26 Aug 2002 18:32:47 +0000 |
| Subject: | Re: search in serialized string | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-114164@lists.php.net to get a copy of this message | ||
I mean double ouch!!! :-)
well..
1 no, it's a select for the language (<select name=language[]) and another
to skill level
1b no separator it's stored as array. The array generated by language[] and
skill[] are stored into another array, serialized and put into DB
2 yes. could be up to 5
2b again, none. only the array structure
the field is a text.
on 8/26/02 9:58 AM, DL Neil at PHPml@DandE.HomeChoice.co.uk wrote:
> Rodrigo,
>
> Inherited problems = ouch!
>
> Sorry I don't keep old list msgs, perhaps you mentioned this before: does
> the language skills field contain:
> 1 both the language and the skill-level, eg English - Advanced
> 1b what separator is used between the two words?
> 2 more than one language/skill-level where applicable, eg English -
> Advanced, German - Intro.
> 2b what separator is used between language entries?
>
> What is the database field description in the table schema?
>
> Please advise,
> =dn
>
>
>
>> well, I my opinion is not the way to work, but like I said the work was
> done
>> by other guy, and now I have the problem to solve. So i back to old
> question
>> :-)
>> How can I search with some precision in a serialized string?
>>
>>
>>
>> on 8/24/02 12:13 PM, DL Neil at PHPml@DandE.HomeChoice.co.uk wrote:
>>
>>> Rodrigo,
>>>
>>> Then the question to be asked is: is serialize()ing this data good
>>> design/technique, or is there a better way?
>>>
>>> Regards,
>>> =dn
>>>
>>>
>>
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>
--