Hi,
First make sure you require has the correct path if not in same
folders as script requiring it and terminate the line with a ';':
<?
require('config.php');
?>
$link = 'https://extranet.securefreedom.com/adaptalife/
Shopping/ShoppingCart_LoadPage.asp?OrderType=C&RepID='.$repid;
$link_output = '<a href="'.$link.'" >Rep click here</a>';
in your html do this:
<? echo $link_output; ?>
Sincerely,
Mike
--
Mike Brandonisio * Web Hosting
Tech One Illustration * Internet Marketing
tel (630) 759-9283 * e-Commerce
[EMAIL PROTECTED] * http://www.jikometrix.net
JIKOmetrix - Reliable web hosting
On Mar 25, 2007, at 12:01 PM, Ronald J. Harris wrote:
> I am tring to get a link to work
>
> I have a config.php that contains
> <?
> $repid = 1110;
> $rep = adapt
> ?>
>
> now on my rep page I have a link I am trying to get to work
>
> <?
> require('config.php')
> ?>
>
> https://extranet.securefreedom.com/adaptalife/Shopping/
> ShoppingCart_LoadPage.asp?OrderType=C&RepID=
> 1110
>
> 1110 need to be replace so that it gets it from the config.php
>
>
>
>
> Community email addresses:
> Post message: [email protected]
> Subscribe: [EMAIL PROTECTED]
> Unsubscribe: [EMAIL PROTECTED]
> List owner: [EMAIL PROTECTED]
>
> Shortcut URL to this page:
> http://groups.yahoo.com/group/php-list
> Yahoo! Groups Links
>
>
>