[FX.php List] [newbie] passing record from page to page

Jason H.Awbrey jason at stravinsoft.com
Wed Oct 27 17:12:06 MDT 2004

Hi Nick,

Once you have your find request, you will need to do something like 

if ($result['foundCount'] > 0) {
	foreach ($result['data'] as $key => $value) {
         $recID = strtok($key, '.');

	echo "<a href=\"rec_detail.php?id=$recID\">" . $value['company'] . 

Then on the the subsequent page you will just need to incorporate the 
$_GET['id'] into your find request for the specific record.

Jason H. Awbrey
StravinSOFT, Incorporated

On Oct 27, 2004, at 4:53 PM, Nick Trenary wrote:

> I have a list of events on page events.php.  I would like to have link 
> for each event that will bring up detailed info about the event.  We 
> used to use Lasso for this scripting but now we're using PHP.  Could 
> someone steer me in the right direction as to how the coding should be 
> written for the events.php page and subsequent details.php page?  
> php.net has been a good resource for me but I am not sure where this 
> falls in the documentation.
> Thanks,
> Nick Trenary
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2371 bytes
Desc: not available
Url : http://www.iviking.org/pipermail/fx.php_list/attachments/20041027/42d508b1/smime.bin

More information about the FX.php_List mailing list