Reply to Re: Passing parameters to two instances thru URL

Your name:

Reply:


Posted by Kimmo Laine on 07/03/06 09:52

<ffreino@gmail.com> wrote in message
news:1151919443.865588.125950@a14g2000cwb.googlegroups.com...
> Hi:
> Class A is a grid where records from a database table are shown. I can
> pass first and last record using the URL (i.e.
> http://.../index.php?first=1&last=20)
> The problem arises when I have two class-A objects in the same web
> page.
> How can I send parameters to one object and to the other at the same
> time? It's possible to send parameter_index
> (http://.../index.php?first_1=1&last_1=20&first_2=4&last_2=8) but I
> think It should be a smarter way.

Either that or make an array out of them:
first[0]=1&last[0]=20&first[1]=4&last[1]=8

--
"ohjelmoija on organismi joka muuttaa kofeiinia koodiksi" -lpk
spam@outolempi.net | Gedoon-S @ IRCnet | rot13(xvzzb@bhgbyrzcv.arg)

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация