[FX.php List] [newbie] passing record from page to page
Gjermund Gusland Thorsen
ggt667 at gmail.com
Thu Oct 28 03:50:53 MDT 2004
I'd say go read http://www.php.net/array
Everything is about arrays in php and c++
also make sure you learn:
foreach
functions with function names that contain str
Gjermund
On Wed, 27 Oct 2004 18:12:06 -0500, Jason H. Awbrey
<jason at stravinsoft.com> wrote:
> Hi Nick,
>
> Once you have your find request, you will need to do something like
> this:
>
> if ($result['foundCount'] > 0) {
> foreach ($result['data'] as $key => $value) {
> $recID = strtok($key, '.');
>
> echo "<a href=\"rec_detail.php?id=$recID\">" . $value['company'] .
> "</a>";
> }
>
> Then on the the subsequent page you will just need to incorporate the
> $_GET['id'] into your find request for the specific record.
>
> HTH.
> Jason H. Awbrey
> StravinSOFT, Incorporated
> http://www.stravinsoft.com
>
>
>
>
> 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
> >
>
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>
>
>
>
More information about the FX.php_List
mailing list