PHP Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 <a href="/forum/showthread.php?p=1338524&nojs=1#goto_threadrating"><span id="threadrating_current">Rate Thread</span></a>
<script type="text/javascript"> vbmenu_register("threadrating"); </script>
</td>
</div>
</td>
<td class="alt1" id="td_post_1338016" style="border-right: 1px solid #D1D1E1">
<!-- icon and title -->
<div class="smallfont">
<strong>Help converting from php 4 to php 5 (array_merge problem)</strong>
</div>
<hr size="1" style="color:#D1D1E1" />
<!-- / icon and title -->
<!-- message -->
<div id="post_message_1338016">Anyone out there know how to fix the array_merge change with PHP 5.0?<br />
<br />
I know why I am running into the problem, I was using array_merge to merge several variables, along with several arrays.<br />
<br />
I have tried array_push, but either I'm using it wrong (very possible) or it won't do exactly what I'm trying to do.<br />
<br />
<div style="margin:5px 10px">
<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
<div class="alt2" dir="ltr" style="
margin: 0px;
padding: 4px;
border: 1px inset;
width: 480px;
height: 146px;
text-align: left;
overflow: auto">
<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB">array_push</span><span style="color: #007700">(</span><span style="color: #0000BB">$result</span><span style="color: #007700">, </span><span style="color: #FF8000">//result is an actual array
#DD0000">'CBOINFOTYPE'</span><span style="color: #007700">],</span><span style="color: #FF8000">//UINT
<br /> &n