Search found 3 matches

by grisha
Mon Nov 08, 2004 7:07 am
Forum: Databases
Topic: howto put an object into a table
Replies: 6
Views: 717

serialize is useful for storing or passing PHP values around without losing their type and structure. You can convert any variable (except a resource-type) into a string which you can store in a database. If you unserialize it, you'll discover that neither value nor structure of the original variab...
by grisha
Sun Nov 07, 2004 5:04 pm
Forum: Databases
Topic: howto put an object into a table
Replies: 6
Views: 717

patrikG wrote:[php_man]serialize[/php_man]
maybe i'm very stupid, but i dont understand what you mean.

great thanxx if you could explain what you mean in a few words., since if i knew what youre saying, i woldnt ask=))
by grisha
Sat Nov 06, 2004 4:58 pm
Forum: Databases
Topic: howto put an object into a table
Replies: 6
Views: 717

howto put an object into a table

hello. i have a table with a laaaarge (about 35) number of fields. now, the problem is that i'm too lazy to program all the stuff by hand:))) i use a class that has the same fields as the table.... i can read an object from the table using mysql_fetch_object,but.... i wonder if there isn't a method ...