[FX.php List] Adding to a field
DC
dan.cynosure at dbmscan.com
Mon Jan 30 09:02:16 MST 2006
yes. the real solution is to make your log field (which you now append
to in a single field) into a separate "table" in your database so that
to "append" some data you just create a new record. don't bother
fetching the existing data. you don't even need to make a relationship
if your need for logging data is simple enough.
your log table would probably just have a timestamp field, and data field.
dan
Rob H. Christensen had written:
> Hi
>
> I have a question, which might make my php page a bit less complicated, if
> the anwer is positive.
> Is it possible to add a text in a field by means of a variable? At the
> moment I do a lot of comparing between the "old" data and the "new" data and
> on basis of the result I create a variable, which contains the date and
> time, using a timestamp and the new data. Then I combine the old data in the
> logfield with the new data in that vriable and create a new content in the
> logfield. Is it possible to edit the record in such a way that the text is
> added? To the existing data in that field?
>
>
> Rob
>
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>
More information about the FX.php_List
mailing list