Re: Bug #4443: inconsistant parsing
| From: | Faisal Nasim | Date: | Sun, 14 May 2000 19:04:22 +0000 |
| Subject: | Re: Bug #4443: inconsistant parsing | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-18730@lists.php.net to get a copy of this message | ||
| for($i=0; $i<3; $i++) {
| if(($row[$i+11] != "") || ($row[$i+19] != "")) {
| print("<tr><td>");
| if($row[$i+11] != "") {
| $tmp = $i + 11;
| print("<table width=100%><tr><td>$row[$tmp]</td>");
| $tmp = $i + 15;
| print("<td
align=right>($row[$i+11])</td></tr></table>\n");
You have to wrap the arrays in {}. For example:
print "The row value is {$row[$tmp]}!!!";
Enjoy!
Faisal