Re: Fwd: [PHP] Storing indefinite arrays in database

2011-05-11 Thread Benedikt Voigt
An: PHP General list php-general@lists.php.net Betreff: Fwd: [PHP] Storing indefinite arrays in database -- Forwarded message -- From: Bastien Koert phps...@gmail.com Date: Tue, May 10, 2011 at 4:37 PM Subject: Re: [PHP] Storing indefinite arrays in database To: Benedikt Voigt

Re: [PHP] Re: Storing indefinite arrays in database

2011-05-11 Thread Benedikt Voigt
=Results.results_id and A2.results_id=Results.results_id and A3.results_id=Results.results_id Theoretically this works, but how good will be the performance if there are Thousands of entries? Anyway, I will try out. Thanks again, Ben Shawn McKenzie schrieb: On 05/10/2011 03:16 PM, Benedikt Voigt wrote

Re: [PHP] Re: Storing indefinite arrays in database

2011-05-11 Thread Benedikt Voigt
Thank you Jasper, this also sounds like an interesting approach. But creating tables on the fly brings me to the idea, that I can also enlarge one table on the fly. Then I could consider the function as a matrice and store it in only one table, which can be enlarged dynamically. I am very

[PHP] Storing indefinite arrays in database

2011-05-10 Thread Benedikt Voigt
Hi, I'am very new to PHP, so please any comment is welcome. I want to write a function in PHP, which takes X arguments and outputs a value. The functioning of this function should be stored in a db (mydb? or better alternatives?) The function would look up the result in the db based on the X