Hello,
I am new to PHP and here is what I am trying to do.
I am trying to call the same page(test.jsp), but changing the parameters that I am passing
------------------test.php-ver1--------------
<?
while (OCIFetchInto($iStatement, &$arrEmployee,
OCI_ASSOC+OCI_RETURN_NULLS))
{
?>
<tr>
<td>
<?= $arrEmployee['NAME'] ?></td>
<td><?= include 'test.php?
param1=$arrEmployee['COL1']¶m2=$arrEmployee['COL2']
¶m3=$arrEmployee['COL3']';
?>
</td>
</tr>
<?
}
?>
------------------test.php-ver1--------------
DOES NOT WORK
How can I pass parameters that I am getting from a query to the page
But it WORKS if
------------------test.php-ver2--------------
<?
while (OCIFetchInto($iStatement, &$arrEmployee,
OCI_ASSOC+OCI_RETURN_NULLS))
{
?>
<tr>
<td>
<?= $arrEmployee['NAME'] ?></td>
<td><?= include 'test1.php';
?>
</td>
</tr>
<?
}
?>
------------------test.php-ver2--------------
------------------test1.php-----------------
test1.php
kkkk
<?php
echo $country;
echo $lang;
echo $parent;
?>
------------------test1.php-----------------
test.jsp, passes the parameters and is displayed