Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PHP help

Status
Not open for further replies.

ndog4ever

MIS
Feb 6, 2002
92
US
I am trying to get certain php pages up, but I dont understand how to specify variables in the URL. My php page has a bunch of router interfaces, i want to be able to get to that certain page without having to make a selection and hit submit. Essentialy i just want to create a quick link, for certain interfaces. Does any of this make sense? I am lost on how to do this.

Thanks for any help

Nate

 
well I have the feeling you are making your life difficult by not wanting to do a submit.

You could use this :

<a href=&quot;mypage.php?variable=value;variable2=value2;etc=etc&quot;>go to my page</a>

But why not do this in a form?

By the way there is a PHP forum. Gary Haran
 
Well I think what I typed before was kinda confusing. I already have a page setup, with a submit button. But I would like to make quick link to the results page if i were to select whatever object.

template.php?choice=reports thats how my report page looks.

now what I am wanting to know, how can i put another field seperator up there to make it automatically go to the selected object. The reason i want to do this is in my list i have over 400 objects being dumped by a concord perl script.

Well thanks for the help, I hope this clarifies things a little.

 
Hi ndog4ever,

Do you mean a separator in the url? If this is the case, just type:

template.php?choice=report&choice2=report2

I hope this helps.

Cheers,

xso
 
Hey thanks for all the help, thats what I needed to know. It works
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top