Posted by meltedown on 11/17/05 21:25
Khai wrote:
> ZeldorBlat said:
>
>>You just said that the 3 pages are
>>"linked" off the main page -- I read that as meaning that there are
>>hyperlinks or forms that post to those pages...
>
>
>
> Yes, that's correct. What I mean to ask is, do I have to use a form button
> or something for the action to trigger? Or can I create the hyperlink to
> run some function that posts those vars to whichever page I send to the
> function?
>
You can put the variable in a hyper link.
http://site.com/mypage.php?cit=cinncinati
In mypage.php , $_GET will be an array with a member named 'city' with a
value of 'cincinatti';
$mycity=$_GET[city];
> function postmyvars (strPageName) {
>
> }
>
> or something-ish. I've yet to actually create any user-defined functions..
>
>
Navigation:
[Reply to this message]
|