Ask a Question related to PHP Development, Design and Development.
-
socal local #1
newbie question re: links and output
I'm creating a page for work where I have a list of the 50 states, and
when one state is clicked, a pop-up comes up where it says, "Hello
Arkansas, etc...". I initially thought I would have to create 50 static
html pages, but am sure this could be done with 1 php page. Thanks.
socal local Guest
-
Newbie Question: Biz Card Template Question
Hi, I got the Pagemaker PlugIn - I am using one of the templates for Business Cards - the elements appear to be grouped (bound box all around when I... -
Simple Questions from Flex Newbie about Links and Lists
Hi, I am working on creating a little flex app that my users can embed into any other sites of their choice. I want to start out by creating a... -
Newbie: Extension to add a new url prefix to pdf links?
Hi folks, I need to write a tiny extension for Contibute (which can be extending the same way as Dreamweaver I believe) that takes the prefix... -
Newbie Using Arrays--Array Runs But Output is Incorrect
I'm trying to build a dynamic table with a 2D array. My array runs, but the output which should be 00 is 000000000. My goal is to output a table... -
Pen Tool Use Question. (Embarrassingly Newbie Question)
I'm currently using Flash MX and whenever I choose the Pen Tool instead of the pen nib with the small "x" beside it that supposed to show up on... -
Savut #2
Re: newbie question re: links and output
Explain more what these page have to do or contain, we can't help you if you
dont give us enough information.
Savut
"socal local" <coastin310@NoSpam.yahoo.com> a écrit dans le message de
news:XRtvb.1480917$Of.218635@news.easynews.com...> I'm creating a page for work where I have a list of the 50 states, and
> when one state is clicked, a pop-up comes up where it says, "Hello
> Arkansas, etc...". I initially thought I would have to create 50 static
> html pages, but am sure this could be done with 1 php page. Thanks.
>
Savut Guest
-
socal local #3
Re: newbie question re: links and output
Basically, I have a webpage with a list of states such as:
California
Oregon
Washington
with each state hyperlinked to another page that will say,
"Hello California..." when California is clicked. Of course,
this could be done by creating a page for each state, but
thought it would be better to have 1 page with PHP. I've done
this kind of thing with form fields, but wasn't sure how to do
it with hyperlinks.
Savut wrote:> Explain more what these page have to do or contain, we can't help you if you
> dont give us enough information.
>
> Savut
>
> "socal local" <coastin310@NoSpam.yahoo.com> a écrit dans le message de
> news:XRtvb.1480917$Of.218635@news.easynews.com...
>>>>I'm creating a page for work where I have a list of the 50 states, and
>>when one state is clicked, a pop-up comes up where it says, "Hello
>>Arkansas, etc...". I initially thought I would have to create 50 static
>>html pages, but am sure this could be done with 1 php page. Thanks.
>>
>
>socal local Guest
-
Ysu #4
Re: newbie question re: links and output
the link looks like (for example):
popup.php?state=California
or if the states are in a database
popup.php?stateid=3
then in the popup.php
in case 1:
hello <?=$state?>
or strictly
hello <?=$_GET['state']?>
in case 2 first get the state name from the db according to the id then
use similar formula to display it
On Fri, 21 Nov 2003 22:57:20 GMT, socal local
<coastin310@NoSpam.yahoo.com> wrote:
> Basically, I have a webpage with a list of states such as:
>
> California
> Oregon
> Washington
>
> with each state hyperlinked to another page that will say,
> "Hello California..." when California is clicked. Of course,
> this could be done by creating a page for each state, but
> thought it would be better to have 1 page with PHP. I've done
> this kind of thing with form fields, but wasn't sure how to do
> it with hyperlinks.
>
> Savut wrote:>>> Explain more what these page have to do or contain, we can't help you
>> if you
>> dont give us enough information.
>>
>> Savut
>>
>> "socal local" <coastin310@NoSpam.yahoo.com> a écrit dans le message de
>> news:XRtvb.1480917$Of.218635@news.easynews.com...
>>>>>>> I'm creating a page for work where I have a list of the 50 states, and
>>> when one state is clicked, a pop-up comes up where it says, "Hello
>>> Arkansas, etc...". I initially thought I would have to create 50 static
>>> html pages, but am sure this could be done with 1 php page. Thanks.
>>>
>>
>>
--
Using M2, Opera's revolutionary e-mail client: [url]http://www.opera.com/m2/[/url]
Ysu Guest
-
socal local #5
Re: newbie question re: links and output
Ysu wrote:
> the link looks like (for example):
> popup.php?state=California
> or if the states are in a database
> popup.php?stateid=3
>
> then in the popup.php
>
> in case 1:
> hello <?=$state?>
> or strictly
> hello <?=$_GET['state']?>
>
> in case 2 first get the state name from the db according to the id then
> use similar formula to display it
>
Thanks....worked perfectly.
socal local Guest



Reply With Quote

