<br>On Sat, Aug 21, 2010 at 11:02 PM, David DURIEUX <span dir="ltr">&lt;<a href="mailto:d.durieux@siprossii.com">d.durieux@siprossii.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Always with libserverphp, there is problems :<br>
<br>
The hook addsections must return an array with id for each section, but<br>
for each section we must have only a number (because it is using by a key number in an array. So we can&#39;t have possibility to have same key<br>
for 2 sections.<br>
<br>
For example, I store in my DB, HARDWARE section in a table and SOFTWARE section in an other. And we can have same id. it&#39;s a big PROBLEM.<br>
<br>
<br>
Other things works for the moment ;)<br>
<br>
</blockquote><div><br>Hi,<br><br>I began  to develop an solution to fix this problem.<br><br>In the addsections hook, the user have to send an associative array (section type / id). <br><br>For example: array(&#39;SOFTWARES&#39; =&gt; array(4, 5, 6, 7), <br>
<br></div></div><br><br><br><span class="info">I noticed some anomalies</span><br>