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!

URL's and Variables

Status
Not open for further replies.
Aug 8, 2002
2
US
Hello, I am trying to complete a page duplication routine. Have it mostly done, but still have one problem. Here is what happens.

Someone signs up and they have a username. There is a new webpage that is made from a template that is personalized with that person's username. I use the implode command to create the new webpage from the program and that works, but can not get the username to place in a link on the new page.

I need it to create a link on the new personalized page like:
<A HREF=&quot;
In my template, I tried the following, but this does not work.
<A HREF=&quot; me</A>

I can get the &quot;USERNAME&quot; to placed on the new page if it is not in the link, but when it is part of the link it just gives me the PHP command and not the actual name. Does anyone know the correct syntax for this or another method that would produce the same results.
Here is the actual code from what I have for the code of the template. The part where I have <Start banner code> is the problem.

What happens is the banner prints out with these results
and did not change the maxid to the actual number. Then just below the banner and not within the link itself, the number that maxid represents does print out all by itself.

Here is the code below. Again any help would be greatly appreciated. thanks!


<head>
<title>USERNAME's Agent Site</title>
</head>
<body>

Welcome to: USERNAME <P>

<!-- Start Banner Code -->
<P ALIGN=&quot;CENTER&quot;>
<a href=&quot;<img src=&quot; border=0>
</A>
</P>
<!-- End Banner Code -->
<P>

</body>
 
what are doing that semi-colons between minor sign and question mark sign?

remo them. Anikin
Hugo Alexandre Dias
Web-Programmer
anikin_jedi@hotmail.com
 
Thanks, that was a syntax that someone else told me to try, but either way Iget the same results as mentioned above.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top