Can someone make tell me how i would make this into a regular link that is not javascript. I want it to be a plain link, linking to the URL given. No popups, open as a full webpage. Thanks
<a href="template.php?idt=123" class="mypyx"> HTML: change the idt value to the id of the template you wanna show
i can't enter the number it has to pull it from the database, so i need to use the variables in the script.
<a href="template.php?idt=<?php echo $row1['nIdTempl']; ?>" class="mypyx"> PHP: Please do not use the <? tag and always use <?php... or <script language="php">... this will work no matter what is the server configuration
Here's a way to keep using the PHP variable inside an HTML link. <a href='/template.php?idt=$row1["nIdTempl"]' class='mypyx'> Code (markup): Be careful of the quotes when you put it in PHP. Is this what you needed? You'll need something to generate the variable, be it PHP or Script. HTML couldn't generate the variables all by itself, since it's only a markup language.