Uninitialized string offset
Posted: Thu Jun 04, 2009 9:54 am
I am using the following code and trying to format this into a table, however I am getting the above stated error. Here is the code.
Code: Select all
for ($i=0;$i<count($req);$i++){
$q="";
for ($x=0;$x<=6;$x++){
$q .= $req[$i][$x];
}
echo '<tr><td><a href="javascript: openwindow(\'http://servicedesk.west.com/CAisd/pdmweb.exe?OP=SEARCH+FACTORY=cr+SKIPLIST=1+QBE.EQ.ref_num='.$q.'\')">'.$q.'</a></td><td>';
$q="";
for ($z=8;$z<=300;$z++){
print_r($req[$i][$z]);
}
echo '</td><td>';
for ($b=0;$b<=300;$b++){
print_r($sum[$i][$b]);
}
echo '</td><td>';
for ($c=0;$c<=300;$c++){
print_r($aname[$i][$c]);
}
echo '</td></tr>';
for ($d=0;$d<=300;$d++){
print_r($cname[$i][$d]);
}
echo '</td></tr>';
for ($e=0;$e<=300;$e++){
print_r($dsc[$i][$e]);
}
echo '</td></tr>';
}