|
Posted by Dan on 12/17/43 11:55
I'm sorry I am trying to figure this out and I need a little more help.
I am fairly new to this and while I understand the logic I am not sure
exactly where to place this. Can I just use a regular form? If so, do
I have a separate submit button for each site I want to use? Thanks
again for your help,
-Dan
BKDotCom wrote:
> $sites = array(
> 'marketwatch' =>
> 'http://bigcharts.marketwatch.com/intchart/frames/frames.asp?symb=%s',
> 'someothersite' => 'http://www.blah.com/?ticker=%s&something=foo',
> );
>
> // loop through the sites
> foreach ( $sites as $url )
> {
> echo sprintf($url,$_GET['symbol']); // replaces %s with your symbol
> }
Navigation:
[Reply to this message]
|