Page 1 of 1

sending saved id

Posted: Thu Nov 19, 2009 2:13 pm
by Goofan
Hi i have a dtatable with a cell called saved_id which contains a number that number is special for every "User"
however i cant get my code to work....

how can i modifie this to work outside php code within a Html coding...

Code: Select all

 
  <a href="sidor/Infanteries.php?saved_id='.$row[saved_id]" target="main">Infanteries</a><br>       <!-- link to go to page Infanteries and send the saved_id alongside with it-->
 
thanks in advance for the help

Posted: Thu Nov 19, 2009 2:17 pm
by Jonah Bron
I think it should be:

Code: Select all

<a href="sidor/Infanteries.php?saved_id=<?php echo $row[saved_id]; ?>" target="main">Infanteries</a><br>

Re: sending saved id

Posted: Thu Nov 19, 2009 2:23 pm
by Goofan
ok thanks that made it